login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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