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!)
A174181 Numbers n such that 2^n+2*n-1 is prime. 0
1, 2, 3, 4, 5, 8, 11, 14, 15, 27, 41, 50, 51, 111, 143, 171, 316, 350, 503, 843 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[850], PrimeQ[2^#+2#-1]&] (* Harvey P. Dale, Jul 26 2021 *)
PROG
(Magma) [n: n in [1..1200] | IsPrime(2^n+2*n-1) ]
(PARI) is(n)=ispseudoprime(2^n+2*n-1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A173168.
Sequence in context: A269571 A281493 A181341 * A298424 A008812 A343608
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Mar 11 2010
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 July 12 16:40 EDT 2024. Contains 374251 sequences. (Running on oeis4.)