Leyland Numbers
Details
A Leyland number is of the form xy + yx where 1 < y ≤ x.
For example, 8 is a Leyland number because 22 + 22 = 8.
Print all the Leyland numbers from 1 to 100,000,000,000 inclusive, each on their own line.
0 bytes, 0 chars
Restore solution
Compiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
ctrl + enter or