a) Let abc=m2,def=n2 and abcdef=p2, where 11≤m≤31,11≤n≤31 are natural numbers. So, p2=1000⋅m2+n2. But 1000=302+102=182+262. We obtain the following relations
p2=(302+102)⋅m2+n2=(182+262)⋅m2+n2==(30m)2+(10m)2+n2=(18m)2+(26m)2+n2
The assertion a) is proved.
b) We write the equality p2=1000⋅m2+n2 in the equivalent form (p+n)(p−n)=1000⋅m2, where 349≤p≤979. If 1000⋅m2=p1⋅p2, such that p+n=p1 and p−n=p2, then p1 and p2 are even natural numbers with p1>p2≥318 and 22≤p1−p2≤62. For m=15 we obtain p1=500,p2=450. So, n=25 and p=475. We have
225625=4752=4502+1502+252=2702+3902+252
The problem is solved.