|
|
A097521
|
|
Difference between F(n) = 2^(2^n)+1 and nextprime(F(n)) where F(n) is the n-th Fermat Number.
|
|
1
|
|
|
2, 2, 2, 6, 2, 14, 12, 50, 296, 74, 642, 980, 1760, 896, 2774, 118112, 44060, 5850
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
F(5) = 4294967297. Nextprime(F(5)) = 4294967311.
4294967311 - 4294967297 = 14 the 6th entry in the table.
|
|
PROG
|
(PARI) for(n=0, +oo, print1(nextprime(2^(2^n)+2)-(2^(2^n)+1), ", ")) \\ Jeppe Stig Nielsen, Nov 18 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|