OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
Product_{n>=1} (1 - 1/a(n)) = A184084. - Amiram Eldar, Nov 22 2022
EXAMPLE
If p=2, 2^2+1 = 5.
If p=7, 2^7+1 = 129.
MATHEMATICA
Table[2^Prime[n] + 1, {n, 18}] (* Robert G. Wilson v, Nov 01 2004 *)
PROG
(Magma) [2^p+1: p in PrimesUpTo(100)]; // Vincenzo Librandi, Apr 29 2014
(PARI) a(n) = 2^prime(n) + 1; \\ Amiram Eldar, Nov 22 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 27 2004
EXTENSIONS
More terms from Robert G. Wilson v, Nov 01 2004
STATUS
approved