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!)
A122042 Numbers n such that (2^n+n)/(n+2) is prime. 1
13, 19, 55, 469, 3385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are also in A081765 = numbers n such that n+2 divides 2^(n-1)-1.
LINKS
MATHEMATICA
Do[If[PrimeQ[(2^n+n)/(n+2)], Print[n]], {n, 1, 5000}]
PROG
(PARI) is(n)=ispseudoprime((2^n+n)/(n+2)) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A081765.
Sequence in context: A274424 A180528 A109504 * A291862 A217065 A339917
KEYWORD
more,nonn
AUTHOR
Zak Seidov, Sep 14 2006
EXTENSIONS
a(5) from Alexander Adamchuk, Sep 17 2006
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 April 19 02:04 EDT 2024. Contains 371782 sequences. (Running on oeis4.)