|
|
A028337
|
|
Palindromes of the form n(n+1).
|
|
3
|
|
|
2, 6, 272, 6006, 289982, 2629262, 6039306, 27999972, 28233282, 2704884072, 20278187202, 20591819502, 2592587852952, 2936231326392, 21809166190812, 27237788773272, 229145919541922, 233552101255332, 250087292780052, 2243922442293422, 2570769009670752, 20333113431133302, 27785925652958772
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
272 belongs to the sequence as 272 = 16*17 is a palindrome.
|
|
MATHEMATICA
|
Select[2*Accumulate[Range[15820000]], IntegerDigits[#] == Reverse[ IntegerDigits[#]]&] (* Harvey P. Dale, Sep 03 2013 *)
|
|
PROG
|
(Python)
for i in range(2, 10**6, 2):
....n += i
....s = str(n)
....if s == s[::-1]:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|