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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138595 Numbers n such that 2^(2*n-21)-21 is prime. 0
11, 12, 13, 14, 15, 16, 17, 21, 22, 31, 55, 205, 217, 255 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

2^(2*13-21)-21=11, 2^(2*14-21)-21=107, 2^(2*15-21)-21=491, 2^(2*16-21)-21=2027, ...

MATHEMATICA

q=21; 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-21)-21) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A297269 A296710 A297143 * A192271 A214423 A185300

Adjacent sequences:  A138592 A138593 A138594 * A138596 A138597 A138598

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 July 6 23:01 EDT 2020. Contains 335484 sequences. (Running on oeis4.)