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!)
A050526 Primes of form 5*2^n+1. 9

%I #33 Sep 08 2022 08:44:58

%S 11,41,641,40961,163841,167772161,2748779069441,180143985094819841,

%T 188894659314785808547841,193428131138340667952988161,

%U 850705917302346158658436518579420528641

%N Primes of form 5*2^n+1.

%C All terms are odd since if n is even, then 5*2^n+1 is divisible by 3. - _Michele Fabbrini_, Jun 06 2021

%H Muniru A Asiru, <a href="/A050526/b050526.txt">Table of n, a(n) for n = 1..12</a>

%H Ray Ballinger, Wilfried Keller, <a href="http://www.prothsearch.com/riesel1.html">List of primes k*2^n + 1 for k < 300</a>

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Proth%27s_theorem">Proth's theorem</a>

%H <a href="/index/Pri#riesel">Index entries for sequences of n such that k*2^n-1 (or k*2^n+1) is prime</a>

%F a(n) = A083575(A002254(n)). - _Michel Marcus_, Mar 29 2018

%p a:=(n, k)->`if`(isprime(k*2^n+1), k*2^n+1, NULL):

%p seq(a(n, 5), n=1..127); # _Martin Renner_, Mar 05 2018

%o (Magma) [a: n in [1..200] | IsPrime(a) where a is 5*2^n + 1]; // _Vincenzo Librandi_, Mar 06 2018

%o (GAP) Filtered(List([1..270], n->5*2^n + 1), IsPrime); # _Muniru A Asiru_, Mar 06 2018

%o (PARI) lista(nn) = {for(k=1, nn, if(ispseudoprime(p=5*2^k+1), print1(p, ", "))); } \\ _Altug Alkan_, Mar 29 2018

%Y For the corresponding exponents n see A002254.

%Y Cf. A019434, A039687, A050527, A050528, A050529, A195745, A300406, A300407, A300408.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Dec 29 1999

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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)