# Square and Cube

Number Theory Level 3

Find the smallest positive integers $$m,n,p,q$$ that $$m^2-n^2=p^3$$ and $$m^3-n^3=q^2$$.

Details : Suppose if m,n,p,q are 9,10,11,12 then input your solution as "9101112"

×