|
|
A229018
|
|
Primes of the form (3*x + 2)*2^x - 1.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Also primes of the form W(n) + W(n+1) + 1 where W(n) and W(n+1) are consecutive Woodall numbers. The n-th Woodall number = n*2^n-1.
|
|
LINKS
|
|
|
EXAMPLE
|
a(2) = 223: for x=4: R= x*2^x-1 = 4*2^4-1 = 63 and S= (x+1)*2^(x+1)-1 = 5*2^5-1 = 159. R+S+1 = 63+159+1 = 223 which is prime.
|
|
MAPLE
|
KD:= proc() local a, b, d; a:= x*2^x-1; b:=(x+1)*2^(x+1)-1; d:=a+b+1; if isprime(d) then RETURN(d): fi; end: seq(KD(), x=1..1000);
|
|
MATHEMATICA
|
Select[Table[(3*x + 2)*2^x - 1, {x, 200}], PrimeQ] (* T. D. Noe, Sep 20 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|