A027728 Palindromes of form k^2 + k + 5.
5, 7, 11, 77, 161, 707, 5555, 16261, 50405, 53135, 7570757, 11988911, 16100161, 16544561, 162626261, 502858205, 758919857, 793464397, 11092829011, 11539593511, 5560873780655, 7424090904247, 7702753572077, 16515222251561, 57293477439275, 7246424554246427
Offset: 1
Links
- Giovanni Resta, Table of n, a(n) for n = 1..46
- P. De Geest, Palindromic Quasi_Over_Squares of the form n^2+(n+X)
Programs
-
Mathematica
palQ[n_] := Block[{d = IntegerDigits[n]}, d == Reverse[d]]; f[n_] := n^2 + n + 5; Select[f@ Range[0, 10^5], palQ] (* Giovanni Resta, Aug 29 2018 *) Select[Table[k^2+k+5,{k,0,852*10^5}],PalindromeQ] (* Harvey P. Dale, Aug 04 2025 *)
Extensions
More terms from Giovanni Resta, Aug 28 2018