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!)
A084836 Palindromic primes with nondecreasing digits up to the middle and then nonincreasing. 3
2, 3, 5, 7, 11, 131, 151, 181, 191, 353, 373, 383, 787, 797, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14741, 15551, 16661, 17971, 19991, 33533, 34543, 34843, 35753, 77977, 78887, 79997, 1114111, 1117111, 1123211, 1126211, 1129211, 1134311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Patrick De Geest, World of Palindromic Primes
PROG
(Python)
from sympy import isprime
from itertools import count, islice, combinations_with_replacement as mc
def agen():
yield from (2, 3, 5, 7, 11)
for d in count(2):
ndni = (int("".join(m+m[:-1][::-1])) for m in mc("123456789", d))
yield from filter(isprime, ndni)
print(list(islice(agen(), 40))) # Michael S. Branicky, Jun 26 2022
CROSSREFS
Sequence in context: A069598 A049575 A070028 * A062351 A185267 A088249
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 07 2003
EXTENSIONS
a(39) and beyond from Michael S. Branicky, Jun 26 2022
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 30 03:30 EDT 2024. Contains 372957 sequences. (Running on oeis4.)