Now if the sum had remainder 2, then you did the following scheme :
first 1 or 25
then a certain number of times you did 36
then you did either 4 or 16
then you did 36 a certain number of time again
then you did 1,4,9,16 or 25 and this leads you to a multipls of 3 or an even number