Square Sum Concatenation - Number Theory 3/4 Challenge

This challenge was set by Dr Herbert Gangl during one of his Number Theory 3/4 lectures.

Observe that \( 12^2 + 33^2 = 1233 \), find as many such pairs \( (x,y) \), with \( x^2 + y^2 = x \text{ concat } y \), as possible.

This article by van der Poorten, Thomsen and Wiebe contains an alternative explanation, a way generating examples, and some other cute observations. (And a more appealing name: self-similar sums of squares.)


Solutions are hosted on github, with direct links below

Solutions with \( y \) having the given number of digits:

Families generated by solution where \( y \) has given number of digits. Note: there is (probably a lot of) repetition of families. When prepending the repeating block to the initial solution, the initial solution may need \( x \) to be padded with a \( 0 \) to make \( x \), and \( y \) the same length, similarly for the repeating block.