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!)
A100772 a(1) = 1; for n>1, a(n+1) is the least number such that there are a(n) palindromes between a(n) and a(n+1) with both ends excluded. 2
1, 3, 7, 56, 617, 58886, 495747595, 39580716961708594, 295807174575157636751575471708593, 19580717457515767633229292922435653422929292233676751575471708592 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Andrew Howroyd, Table of n, a(n) for n = 1..14

EXAMPLE

a(3)= 7, a(4) = 56 as there are 7 palindromes between 7 and 56: (8,9,11,22,33,44,55).

MATHEMATICA

Nest[Append[#, Block[{k = 0}, Catch@ Do[Which[k == #[[-1]], Throw[i]; Break[], PalindromeQ@ i, k++, True, Nothing], {i, #[[-1]] + 1, Infinity}]]] &, {1}, 5] (* Michael De Vlieger, Jan 28 2020 *)

PROG

(PARI) \\ Requires A002113.

a(n)={my(k=1, t=0); for(i=1, n, t=1+A002113(k); k += t + (t<10)); t} \\ Andrew Howroyd, Jan 27 2020

CROSSREFS

Cf. A002113 (palindromes in base 10).

Sequence in context: A228490 A130294 A321968 * A320724 A259266 A131652

Adjacent sequences:  A100769 A100770 A100771 * A100773 A100774 A100775

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Nov 28 2004

EXTENSIONS

a(5)-a(7) from Ray Chandler, Dec 10 2004

a(8) from Donovan Johnson, Dec 03 2009

Terms a(9) and beyond from Andrew Howroyd, Jan 27 2020

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 August 7 23:50 EDT 2022. Contains 355995 sequences. (Running on oeis4.)