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!)
A260802 Odd numbers x = 2n - 1 such that the concatenation of A019519(n) and A038395(n-1) is prime. 1
3, 13, 19, 21, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 3 since 13_1 is prime;
a(2) = 13 since 135791113_1197531 is prime;
a(3) = 19 since 135791113151719_1715131197531 is prime.
PROG
(Python)
import sympy
n=1
while n>0:
....s=str(n)
....for m in range(n-2, 0, -2):
........s=str(m)+s+str(m)
....p=int(s)
....if sympy.isprime(p)==True:
........print(n)
....n=n+2
CROSSREFS
Sequence in context: A024474 A024599 A071600 * A338341 A045435 A038974
KEYWORD
nonn,more,base
AUTHOR
Abhiram R Devesh, Jul 31 2015
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 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)