A027576 Numbers n such that n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 is palindromic.
100, 10172, 10460137, 12309598, 101740172, 102025300, 1085864492, 1086219242, 107045858977, 109244416317
Offset: 1
Links
- P. De Geest, Palindromic Sums of Squares of Consecutive Integers
Crossrefs
Cf. A027577.
Programs
-
Mathematica
Select[Range[1231*10^4], PalindromeQ[Total[(# + {0, 1, 2, 3})^2]] &] (* The program generates the first 4 terms of the sequence. To generate more, increase the Range constant, but the program will take a long time to run. *) (* Harvey P. Dale, Apr 18 2021 *)
Extensions
a(6)-a(8) from Donovan Johnson, Aug 26 2012
a(9)-a(10) from Chai Wah Wu, Sep 06 2021