OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Prime sums.
FORMULA
a(n) = (1/4)*(3*p-5)*(p-2)*(p-1) where p = prime(n).
PROG
(PARI) a(n) = my(p=prime(n)); sum(k=1, (p-1)*(p-2), sqrtnint(k*p, 3)); \\ Michel Marcus, Mar 01 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Dec 08 2002
EXTENSIONS
Name edited by Michel Marcus, Mar 01 2023
STATUS
approved