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!)
A057201 Numbers k such that 2^k + 21 is prime. 19
1, 3, 4, 5, 7, 8, 11, 15, 16, 19, 44, 48, 51, 52, 61, 163, 196, 456, 492, 911, 997, 1616, 1631, 1647, 1803, 1899, 3112, 3584, 3956, 6848, 7023, 9535, 16657, 27035, 33843, 36551, 38859, 81485, 107287, 131383, 139476, 158497, 210061, 216752, 339168, 341355, 376731, 1173095 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(48) > 5*10^5. - Robert Price, Sep 17 2015
LINKS
Henri Lifchitz and Renaud Lifchitz, Search for 2^n+21, PRP Top Records.
EXAMPLE
k = 15, 2^15 + 21 = 32789 is prime.
k = 16, 2^16 + 21 = 65557 is prime.
MATHEMATICA
Do[ If[ PrimeQ[ 2^n + 21 ], Print[ n ] ], {n, 1, 4000} ]
Select[Range[10000], PrimeQ[2^# + 21] &] (* Vincenzo Librandi, Aug 28 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(2^n+21)]; // Vincenzo Librandi, Aug 28 2015
(PARI) is(n)=isprime(2^n+21) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Cf. A094076.
Cf. A019434 (primes 2^k+1), A057732 (2^k+3), A059242 (2^k+5), A057195 (2^k+7), A057196 (2^k+9), A102633 (2^k+11), A102634 (2^k+13), A057197 (2^k+15), A057200 (2^k+17), A057221 (2^k+19), this sequence (2^k+21), A057203 (2^k+23).
Sequence in context: A003310 A038525 A268678 * A242965 A266796 A318603
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 16 2000
EXTENSIONS
a(30)-a(47) from Robert Price, Dec 06 2013
a(48) found by Stefano Morozzi, added by Elmo R. Oliveira, Nov 25 2023
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 March 29 01:36 EDT 2024. Contains 371264 sequences. (Running on oeis4.)