IDNLearn.com is the place where your questions are met with thoughtful and precise answers. Ask your questions and receive reliable, detailed answers from our dedicated community of experts.

what is the sum of all whole numbers between 0 and 1000 that are both perfect squares and perfect cubes?

Sagot :

the sum of the numbers are 794.

The numbers are 1, 64 and 729.

Let the required number be N.

Let N be a perfect square of A.

We have A^2=N. —(1)

Let N be a perfect cube of B.

We have B^3=N. —(2)

From (1) and (2) we get:

B=A^(2/3)

For B to e an integer, A must be the cube of some other integer (say C).

Therefore,

A=C^3

B=C^2

Now, starting with C = 1

A = 1

B = 1

N = 1

For C = 2

A = 8

B = 4

N = 64

For C = 3

A = 27

B = 9

N = 729.

therefore sum=794.

learn more about sum here:

https://brainly.com/question/2289438

#SPJ9