OFFSET
1,1
COMMENTS
FORMULA
a(n) = prime(n)^2 - prime(n) + 1.
a(n) = A036689(n)+1. - R. J. Mathar, Aug 13 2019
Product_{n>=1} (1 - 1/a(n)) = zeta(6)/(zeta(2)*zeta(3)) (A068468). - Amiram Eldar, Nov 07 2022
MATHEMATICA
Table[Prime[n]^2-Prime[n]+1, {n, 1, 100}]
PROG
(PARI) a(n) = {my(p = prime(n)); p^2 - p + 1; } \\ Amiram Eldar, Nov 07 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Aug 02 2006
STATUS
approved