The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046486 Numbers k such that the sum of the first k palindromes is a palindrome. 3
1, 2, 3, 12, 16, 47, 314 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Patrick De Geest, World!Of Numbers
EXAMPLE
a(n)=47 so 1+2+3+...+373+383 (47 terms) = 7557.
MATHEMATICA
palQ[n_] := Reverse[x = IntegerDigits[n]] == x; t = Select[Range[25000], palQ[#] &]; Flatten[Rest[Position[Accumulate[t], _?palQ]]] (* Jayanta Basu, Jun 26 2013 *)
Position[Accumulate[Select[Range[100000], PalindromeQ]], _?PalindromeQ] // Flatten (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 31 2020 *)
CROSSREFS
Sequence in context: A345362 A333319 A047163 * A073452 A112976 A100570
KEYWORD
nonn,hard,base
AUTHOR
Patrick De Geest, Sep 15 1998
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 04:34 EDT 2024. Contains 372703 sequences. (Running on oeis4.)