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!)
A138577 Numbers n such that 2^(2*n-3)-3 is prime. 0
3, 4, 6, 16, 108, 112, 118, 274, 346, 1162, 1620 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
2^(2*3-3)-3=5, 2^(2*4-3)-3=29, 2^(2*6-3)-3=509,...
MATHEMATICA
q=3; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 10^2}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]
Select[Range[400], PrimeQ[2^(2#-3)-3]&] (* Harvey P. Dale, Aug 10 2017 *)
PROG
(PARI) is(n)=isprime(2^(2*n-3)-3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A092933 A122849 A068573 * A298149 A136242 A066732
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Aug 10 2017
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 14 21:33 EDT 2024. Contains 372533 sequences. (Running on oeis4.)