login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138579 Numbers n such that 2^(2*n-9)-9 is prime. 0
5, 7, 9, 10, 13, 15, 21, 67, 75, 126, 130, 147, 165, 273, 286, 354, 369 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..17.

EXAMPLE

2^(2*7-9)-9=23, 2^(2*9-9)-9=503, 2^(2*10-9)-9=2039, 2^(2*13-9)-9=131063

MATHEMATICA

q=9; 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]

PROG

(PARI) is(n)=isprime(2^(2*n-9)-9) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A018935 A039501 A114255 * A189703 A158251 A212191

Adjacent sequences:  A138576 A138577 A138578 * A138580 A138581 A138582

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, May 13 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 20 08:18 EST 2020. Contains 331081 sequences. (Running on oeis4.)