login
A138601
Numbers n such that 2^(2*n-37)-37 is prime.
0
20, 21, 24, 30, 66, 74, 390, 1194, 1244, 2166, 2580, 4488
OFFSET
1,1
EXAMPLE
2^(2*24-37)-37=2011, 2^(2*30-37)-37=8388571, 2^(2*66-37)-37=39614081257132168796771975131,...
MATHEMATICA
q=37; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 10^3}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]
Select[Range[5000], PrimeQ[2^(2 # - 37) - 37] &] (* Harvey P. Dale, Dec 03 2021 *)
PROG
(PARI) is(n)=isprime(2^(2*n-37)-37) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A030605 A125663 A241850 * A278582 A218539 A295488
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Dec 03 2021
STATUS
approved