login
A028349
Palindromes of form n^2 + 3*n + 1.
2
1, 5, 11, 55, 131, 181, 505, 929, 1331, 9119, 10301, 14041, 15251, 106601, 145541, 196691, 1003001, 1284821, 1712171, 9452549, 100030001, 106636601, 112434211, 160111061, 174464471, 924494429, 950828059, 990707099, 1067557601, 9140220419, 9300770039
OFFSET
1,2
MATHEMATICA
PalindromeQ = ((# // IntegerDigits // Reverse // FromDigits) == #) &; Select[Table[n^2 + 3*n + 1, {n, 1, 5000}], PalindromeQ] (* G. C. Greubel, Nov 26 2016 *)
PROG
(Magma) [p: n in [0..100000] | s eq Reverse(s) where s is Intseq(p) where p is n^2+3*n+1]; // Vincenzo Librandi, Nov 26 2016
CROSSREFS
Cf. A028348.
Sequence in context: A104065 A212304 A018545 * A149528 A149529 A149530
KEYWORD
nonn,base
EXTENSIONS
Name corrected and sequence extended by T. D. Noe, Apr 17 2012
STATUS
approved