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!)
A046849 Numbers k such that k*2^k+(k-1) is prime. 1
1, 4, 6, 30, 34, 94, 216, 1120, 1438, 3370, 5062, 6714, 30666, 36966 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The corresponding primes are given in A046848.
LINKS
MATHEMATICA
Select[Range[10^4], PrimeQ[#*2^# + (# - 1)] &] (* Michael De Vlieger, Mar 02 2015 *)
PROG
(PARI) isok(n) = isprime(n*2^n+(n-1)); \\ Michel Marcus, Oct 12 2014
(PARI) for(n=1, 10^6, if(ispseudoprime(n*2^n+(n-1)), print1(n, ", "))); \\ Joerg Arndt, Mar 02 2015
CROSSREFS
Cf. A046848.
Sequence in context: A259087 A364737 A056221 * A090530 A154667 A093121
KEYWORD
hard,more,nonn
AUTHOR
EXTENSIONS
a(8)-a(9) from Michel Marcus, Oct 12 2014
a(10)-a(12) (pseudoprimes) from Joerg Arndt, Mar 02 2015
a(13)-a(14) from Michael S. Branicky, Jan 21 2023
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)