Find the number of integers from 1 to 100 (inclusive) that can be written as the sum of two perfect squares.
Have you read the "Sum of two squares theorem" in your Math Textbook?? If no, read about here:
https://en.wikipedia.org/wiki/Sum_of_two_squares_theorem