OFFSET
1,1
COMMENTS
Composites m such that m | H_2(m-1) * lcm(1^2,2^2,...,(m-1)^2), where H_2(m) = 1/1^2 + 1/2^2 + ... + 1/m^2.
By Wolstenholme's theorem, if p > 3 is a prime, then p divides the numerator of H_2(p-1) and thus H_2(p-1) * lcm(1,2^2,...,(p-1)^2) == 0 (mod p). This sequence is formed by the pseudoprimes that are solutions of this congruence.
a(5) > 10^7 if it exists.
LINKS
Eric Weisstein's World of Mathematics, Wolstenholme's Theorem.
Wikipedia, Wolstenholme's theorem.
MATHEMATICA
s = 0; c = 1; n = 1; seq = {}; Do[s += 1/n^2; c = LCM[c, n^2]; n++; If[CompositeQ[n] && Divisible[s*c, n], AppendTo[seq, n]], {2 * 10^6}]; seq
CROSSREFS
KEYWORD
nonn,bref,more
AUTHOR
Amiram Eldar and Thomas Ordowski, Aug 07 2019
STATUS
approved