|
|
A119550
|
|
Prime numbers of the form 2^(2^n) + 2^n - 1.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Define F(n) = 2^(2^n)+1 = n-th Fermat number, M(n) = 2^n-1 = the n-th Mersenne number. Then we are considering the numbers f(n) = F(n)+M(n)-1 = 2^(2^n) + 2^n - 1 (cf. A119563).
|
|
EXAMPLE
|
F(2)= 2^(2^2)+1 = 17, M(2) = 2^2-1 = 3, F(2)+ M(2)-1 = 19 is prime, so 2 is a member.
|
|
PROG
|
(PARI) fmp3(n)=for(x=0, n, y=2^(2^x)+2^x-1; if(ispseudoprime(y), print1(y", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|