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!)
A226536 Palindromes of length greater than 1 in decimal expansion of e (A001113). 1
828, 18281, 818, 28182, 8281828, 828, 353, 747, 66, 2662, 77, 757, 99, 999, 99, 959, 595, 66, 9669, 696, 676, 77, 2772, 66, 303, 353, 535, 525, 66, 66, 919, 39193, 0, 30, 99, 181, 66, 0, 33, 595, 323, 232, 434, 94349, 323, 33, 88, 525, 101, 11, 383, 70, 99, 88, 4884, 44, 606, 66, 808, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Begin with the left (most significant) k digits and sequentially remove the first j leading digits until a palindrome is found; continue.
a(33) is actually '00', a(34) is actually '030' (which should be obvious), a(38) is actually '00'.
If e is normal number then all multidigit palindromes should appear.
LINKS
Eric W. Weisstein, Normal Number
EXAMPLE
e = 2.7182818284590452353602874713526624977572470936999595749669676...
a(1) = 828, as the first nontrivial palindrome in E is '828', which appears in the digits 4 through 6.
a(2) = 18281, as the second nontrivial palindrome in E is '18281', which appears in the digits 3 through 7.
Please note that a(1) runs from digits 4-6 whereas a(2) runs from 3-7. This is why a(1) appears before a(2).
MATHEMATICA
e = RealDigits[E, 10, 250][[1]]; palQ[n_] := n == Reverse[n]; k = 2; lst = {}; While[k < 251, While[j < k, If[ palQ[ Take[e, {j, k}]], p = FromDigits[Take[e, {j, k}]]; AppendTo[lst, p]; Print[p]]; j++]; k++; j = 1]
CROSSREFS
Sequence in context: A179169 A260013 A234085 * A099052 A238024 A015991
KEYWORD
nonn,base
AUTHOR
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 00:14 EDT 2024. Contains 373227 sequences. (Running on oeis4.)