OFFSET
1,1
COMMENTS
From von Staudt-Clausen theorem.
REFERENCES
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford Univ. Press, 1979, Th. 118.
Hans Rademacher, Topics in Analytic Number Theory, Springer, 1973, Chap. 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A067513(2n). - R. J. Mathar, Aug 07 2022
MAPLE
MATHEMATICA
Length[ Select[ Divisors[ 2n ], PrimeQ[ #+1 ]& ] ] or Length[ FactorInteger[ Denominator@BernoulliB[ 2k ] ] ]
Table[Count[Divisors[2n], _?(PrimeQ[#+1]&)], {n, 110}] (* or *) PrimeOmega/@ Denominator[BernoulliB[2*Range[110]]] (* Harvey P. Dale, Mar 19 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wouter Meeussen, Jan 23 2001
STATUS
approved