Five consecutive integers $p,q,r,s,t$,each less than $10000$, produce a sum which is a perfect square, while the sum of $q,r,s$ is a perfect cube.What is the value of $ \sqrt{p+q+r+s+t}$ ?
What I have tried so far:
Let $p=r-2$
$p+q+r+s+t =5r $
$5r=x^2 $
$q+r+s =3r =y^3 $
$x^2 -y^3 =2r $
So,the only perfect squares which are divisible by $5$ are the multiples of $5$: $25,100,225,400...$
I also observed that $100-25=75,225-100=125$,where $125-75=50$.Trying that for $225-100=125,400-225=175$ where $175-125=50$
Then,for the perfect cube which are divisible by 3 and must be less than the perfect squares.
$30^3,60^3,90^3,120^3....$
And here is were I got stuck at...
Is the concept I'm using correct?