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!)
A138599 Numbers n such that 2^(2*n-31)-31 is prime. 0
16, 17, 19, 21, 22, 24, 25, 33, 34, 36, 46, 49, 60, 70, 90, 93, 112, 137, 143, 207, 216, 263, 280, 477, 647, 1257, 1383 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

2^(2*19-31)-31=97, 2^(2*21-31)-31=2017, 2^(2*22-31)-31=8161, ...

MATHEMATICA

q=31; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 20^2}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]

Select[Range[1500], PrimeQ[2^(2#-31)-31]&]

PROG

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

CROSSREFS

Sequence in context: A209726 A326455 A145449 * A258265 A261344 A007636

Adjacent sequences: A138596 A138597 A138598 * A138600 A138601 A138602

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, May 13 2008

EXTENSIONS

More terms from Harvey P. Dale, Apr 08 2018

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 1 13:29 EDT 2023. Contains 361695 sequences. (Running on oeis4.)