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!)
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
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: A114255 A350496 A358314 * A189703 A158251 A212191
KEYWORD
nonn,easy
AUTHOR
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 April 16 14:05 EDT 2024. Contains 371740 sequences. (Running on oeis4.)