A178530 Numbers k with the property that there exist nonnegative integers a and b such that k = concat(a,b) = a^2+b^2.
0, 1, 100, 101, 1233, 8833, 10100, 990100, 5882353, 94122353, 1765038125, 2584043776, 7416043776, 8235038125, 116788321168, 123288328768, 876712328768, 883212321168, 7681802663025, 8896802846976, 13793103448276, 15348303604525, 84651703604525, 86206903448276, 91103202846976, 92318202663025, 106058810243728
Offset: 1
Examples
0 = 0^2+0^2 [this seems a bit far-fetched. - _N. J. A. Sloane_, Dec 23 2010] 1=0^2+1^2 [ditto] 100=10^2+0^2. 101=10^2+1^2. 1233=12^2+33^2.
Links
- Max Alekseyev, Table of n, a(n) for n = 1..200
Programs
-
Mathematica
Sort[Reap[Do[n=a^2+b^2; If[n==FromDigits[Join[IntegerDigits[a], IntegerDigits[b]]], Sow[n]], {a,0, 1000}, {b, 0, 1000}]][[2, 1]]]
Extensions
Edited by N. J. A. Sloane, Dec 23 2010
a(11)-a(14) from Nathaniel Johnston, Jan 03 2011
Terms a(15) onward from Max Alekseyev, Aug 17 2013
Comments