Squares, triangles, and octal

from blog John D. Cook, | ↗ original
I ran across the following theorem in Ross Honsberger’s book Mathematical Morsels: Every odd square ends in 1 in base 8, and if you cut off the 1 you have a triangular number. A number is an odd square if and only if it is the square of an odd number, so odd squares have […] The post Squares, triangles, and octal first appeared on John D. Cook.