OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
From Amiram Eldar, Jan 23 2021: (Start)
a(n) = A008864(n)^2.
Product_{n>=1} (1 + 1/a(n)) = A065486.
Product_{n>=1} (1 - 1/a(n)) = A065472. (End)
MATHEMATICA
Table[(Prime[n] + 1)^2, {n, 200}] (* Vincenzo Librandi, Mar 27 2014 *)
PROG
(Magma) [(p+1)^2: p in PrimesUpTo(200)]; // Vincenzo Librandi, Mar 27 2014
(Python)
from sympy import primerange
print([(p+1)**2 for p in primerange(1, 192)]) # Michael S. Branicky, Sep 16 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Sep 18 2005
EXTENSIONS
Corrected and extended by Ray Chandler, Oct 08 2005
STATUS
approved