BTW,its easier than u think
7^4=(50-1)^2=2500-100+1
7^8=(2400+1)^2=5760000+4800+1
One should be able to finish the rest in the head