[go: up one dir, main page]

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!)
A341713 revision #38

A341713 Indices of Ennesrem primes: k such that A004094(k)-1 is prime. 1
2, 3, 13, 21, 347, 1217, 1267, 16459, 100909 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Reverse(2^k) - 1 is prime.
Is this sequence infinite?
LINKS
N. J. A. Sloane, Exciting Number Sequences (video of talk), Mar 05 2021.
EXAMPLE
13 is a term, since 2^13 = 8192 -> 2918 -> 2917, which is prime.
PROG
(PARI) for(n=1, 10000, my(pe=fromdigits(Vecrev(digits(2^n)))-1); if(ispseudoprime(pe), print1(n, ", "))) \\ Hugo Pfoertner, Feb 20 2021
(Python)
from sympy import isprime
def ok(k): return isprime(int(str(2**k)[::-1]) - 1)
for k in range(1, 2*10**3):
if ok(k): print(k, end=", ") # Michael S. Branicky, Feb 20 2021
CROSSREFS
Sequence in context: A139563 A019226 A138699 * * A077248 A282342
KEYWORD
nonn,base,more
AUTHOR
N. J. A. Sloane, Feb 20 2021
EXTENSIONS
a(8) from Hugo Pfoertner, Feb 20 2021
a(9) from Hugo Pfoertner, Mar 22 2021
STATUS
editing

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 August 30 07:08 EDT 2024. Contains 375531 sequences. (Running on oeis4.)