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!)
A174181 Numbers n such that 2^n+2*n-1 is prime. 0

%I

%S 1,2,3,4,5,8,11,14,15,27,41,50,51,111,143,171,316,350,503,843

%N Numbers n such that 2^n+2*n-1 is prime.

%t Select[Range[850],PrimeQ[2^#+2#-1]&] (* _Harvey P. Dale_, Jul 26 2021 *)

%o (MAGMA) [n: n in [1..1200] | IsPrime(2^n+2*n-1) ]

%o (PARI) is(n)=ispseudoprime(2^n+2*n-1) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A173168.

%K nonn

%O 1,2

%A _Vincenzo Librandi_, Mar 11 2010

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 October 23 16:20 EDT 2021. Contains 348215 sequences. (Running on oeis4.)