|
|
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
|
|
|
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
|
|
|
KEYWORD
|
hard,more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(10)-a(12) (pseudoprimes) from Joerg Arndt, Mar 02 2015
|
|
STATUS
|
approved
|
|
|
|