[go: up one dir, main page]

login
A138602
Numbers n such that 2^(2*n-39)-39 is prime.
0
20, 21, 22, 23, 32, 33, 83, 140, 1122
OFFSET
1,1
EXAMPLE
2^(2*23-39)-39=89, 2^(2*32-39)-39=33554393, 2^(2*33-39)-39=134217689, 2^(2*83-39)-39=170141183460469231731687303715884105689,
MATHEMATICA
q=39; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 12^3}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]
PROG
(PARI) is(n)=isprime(2^(2*n-39)-39) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A319678 A270045 A133895 * A346400 A347298 A326678
KEYWORD
nonn,easy
AUTHOR
STATUS
approved