login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..6.

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

Cf. A000040, A002113, A002385, A134811, A135602, A167842.

Sequence in context: A171813 A089291 A167842 * A200733 A267002 A242138

Adjacent sequences:  A244366 A244367 A244368 * A244370 A244371 A244372

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 1 17:45 EDT 2020. Contains 337444 sequences. (Running on oeis4.)