OFFSET
1,1
COMMENTS
Numbers n such that A007406(n) is prime.
Some of the larger entries may only correspond to probable primes.
A007406(n) are the Wolstenholme numbers: numerator of Sum 1/k^2, k = 1..n. Primes in A007406(n) are listed in A123751(n) = A007406(a(n)) = {5,266681,40799043101,86364397717734821,...}.
For prime p>3, Wolstenholme's theorem says that p divides A007406(p-1). Hence n+1 cannot be prime for any n>2 in this sequence. - 12 more terms from T. D. Noe, Nov 11 2005
No other n<50000. All n<=1406 yield provable primes. - T. D. Noe, Mar 08 2006
LINKS
Carlos M. da Fonseca, M. Lawrence Glasser, Victor Kowalenko, Generalized cosecant numbers and trigonometric inverse power sums, Applicable Analysis and Discrete Mathematics, Vol. 12, No. 1 (2018), 70-109.
Eric Weisstein's World of Mathematics, Wolstenholme's Theorem
Eric Weisstein's World of Mathematics, Harmonic Number.
Eric Weisstein's World of Mathematics, Wolstenholme Number
EXAMPLE
MATHEMATICA
s = 0; Do[s += 1/n^2; If[PrimeQ[Numerator[s]], Print[n]], {n, 1, 10^4}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ryan Propper, Nov 05 2005
EXTENSIONS
12 more terms from T. D. Noe, Nov 11 2005
More terms from T. D. Noe, Mar 08 2006
Additional comments from Alexander Adamchuk, Oct 11 2006
Edited by N. J. A. Sloane, Nov 11 2006
STATUS
approved