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!)
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
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
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 May 10 07:01 EDT 2024. Contains 372358 sequences. (Running on oeis4.)