The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A201360 Numbers k such that (2^k - k + 1)*2^k + 1 is prime. 8

%I #13 May 13 2023 01:44:47

%S 1,2,39,44,62,1478,2306,35335

%N Numbers k such that (2^k - k + 1)*2^k + 1 is prime.

%e 2 is in the sequence because (2^2 - 2 + 1)*2^2 + 1 = 13 is prime.

%t lst={};Do[If[PrimeQ[(2^n - n+1)*2^n+1],AppendTo[lst,n]],{n,10000}];lst

%o (PARI) is(n)=ispseudoprime((2^n-n+1)<<n+1) \\ _Charles R Greathouse IV_, Feb 17 2017

%Y Cf. A201356, A201357, A201358, A201359, A201361, A201362, A201363.

%K nonn,hard,more

%O 1,2

%A _Michel Lagneau_, Nov 30 2011

%E a(8) from _Michael S. Branicky_, May 12 2023

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 June 1 15:30 EDT 2024. Contains 373025 sequences. (Running on oeis4.)