|
|
A186722
|
|
a(n) = numerator of Sum_{k=1..p-1} 1/k^2 for p the n-th prime.
|
|
1
|
|
|
1, 5, 205, 5369, 1968329, 240505109, 822968714749, 238820721143261, 354019312583809, 10383930672892966877209, 8745363341445960333910369, 33729537728506506466441425661, 46252969210499754415427421586309, 11115284554577186575391010113969347, 20577813589884143264711540636313749803
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MAPLE
|
f3:=proc(n) local p;
p:=ithprime(n);
numer(add(1/i^2, i=1..p-1));
end proc;
[seq(f3(n), n=1..20)];
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) a(n) = my(p=prime(n)); numerator(sum(k=1, p-1, 1/k^2)); \\ Michel Marcus, Apr 05 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|