Anyway, I noticed that when you go from 16 to 25, you add another perfect square (9), and when you go from to 144 to 169, you add another perfect square (25).
Is there a pattern to this happening or does it just sort of show up every now and then?
Actually, the perfect squares you show is a pattern; you are adding the next odd integer to the previous. So you will get all the odd numbers squared eventually.
Not really any sort of answer, but I thought I’d point out that these triplets you’re finding are indications of unit right triangles. The roots of these squares are whole numbers that fit into a[sup]2[/sup]+b[sup]2[/sup]=c[sup]2[/sup](the Pythagoren theorem). So, the can form right triangles with whole number sides, like the famous 3-4-5 triangle.