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!)
A244369 Palindromic right-angled primes. 3
101, 787, 34543, 7654567, 345676543, 34567876543 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Intersection of A002113 and A167842.
Intersection of A002385 and A135602.
The last term of this sequence is also the last term of A134811.
LINKS
EXAMPLE
Illustration of a(6) = 34567876543, the last term of this sequence:
. . . . . . . . . . .
. . . . . 8 . . . . .
. . . . 7 . 7 . . . .
. . . 6 . . . 6 . . .
. . 5 . . . . . 5 . .
. 4 . . . . . . . 4 .
3 . . . . . . . . . 3
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
PROG
(Python)
from sympy import isprime
A244369 = []
for n in range(1, 10):
....for m in range(n-1, -1, -1):
........l = ''.join([str(d) for d in range(n, m-1, -1)])
........p = int(l+l[-2::-1])
........if isprime(p):
............A244369.append(p)
....for m in range(n+1, 10):
........l = ''.join([str(d) for d in range(n, m+1)])
........p = int(l+l[-2::-1])
........if isprime(p):
............A244369.append(p)
A244369 = sorted(A244369) # Chai Wah Wu, Aug 15 2014
CROSSREFS
Sequence in context: A171813 A089291 A167842 * A200733 A267002 A242138
KEYWORD
nonn,base,fini,full
AUTHOR
Omar E. Pol, Jun 26 2014
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 April 25 09:18 EDT 2024. Contains 371967 sequences. (Running on oeis4.)