OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
S:= 0: R:= NULL: count:= 0:
for k from 1 while count < 100 do
S:= S + 1/k^2;
if isprime(k+1) and not issqr(denom(S)) then
R:= R, k+1; count:= count+1;
fi
od:
R; # Robert Israel, Oct 25 2019
MATHEMATICA
a = {}; Do[If[Sqrt[Denominator[Sum[1/x^2, {x, 1, Prime[x] - 1}]]] == Floor[Sqrt[Denominator[Sum[1/x^2, {x, 1, Prime[x] - 1}]]]], 1, AppendTo[a, Prime[x]]], {x, 1, 50}]; a
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 03 2007
EXTENSIONS
More terms from Robert Israel, Oct 25 2019
STATUS
approved