login
This site is supported by donations 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

Table of n, a(n) for n=1..20.

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 A144679

Adjacent sequences:  A174178 A174179 A174180 * A174182 A174183 A174184

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 25 12:01 EDT 2019. Contains 324352 sequences. (Running on oeis4.)