OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics,Prime Sums.
FORMULA
a(n) = numerator(Sum_{k=1..n} 1/(Prime(k) - 1)^2).
EXAMPLE
MATHEMATICA
(* First program *)
Numerator[Table[Sum[1/(Prime[i]-1)^2, {i, 1, n}], {n, 1, 30}]]
(* Second program *)
Numerator[Accumulate[1/(Prime[Range[20]]-1)^2]] (*Harvey P. Dale,Jun 28 2017 *)
PROG
(PARI) a(n)=numerator(sum(k=1, n, 1/(prime(k)-1)^2)) \\Charles R Greathouse IV,Apr 24 2015
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Alexander Adamchuk,Jun 08 2006
STATUS
approved