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!)
A309325 Numbers that are the sum of two successive palindromes. 0
1, 3, 5, 7, 9, 11, 13, 15, 17, 20, 33, 55, 77, 99, 121, 143, 165, 187, 200, 212, 232, 252, 272, 292, 312, 332, 352, 372, 393, 414, 434, 454, 474, 494, 514, 534, 554, 574, 595, 616, 636, 656, 676, 696, 716, 736, 756, 776, 797, 818, 838, 858, 878, 898, 918, 938, 958, 978 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A002113(n) + A002113(n+1).
MATHEMATICA
Total /@ Partition[Select[Range[0, 500], PalindromeQ], 2, 1]
PROG
(Python)
from itertools import chain, count, islice
def A309325_gen(): # generator of terms
c = 0
for a in chain.from_iterable(chain((int((s:=str(d))+s[-2::-1]) for d in range(10**l, 10**(l+1))), (int((s:=str(d))+s[::-1]) for d in range(10**l, 10**(l+1)))) for l in count(0)):
yield c+(c:=a)
A309325_list = list(islice(A309325_gen(), 20)) # Chai Wah Wu, Jun 23 2022
CROSSREFS
Sequence in context: A061808 A248608 A362680 * A368729 A192863 A143450
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Jul 23 2019
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 June 9 23:58 EDT 2024. Contains 373251 sequences. (Running on oeis4.)