Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A084217
Number of k's 1<=k<=n dividing the numerator of 2n-th Bernoulli number.
1
1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 3, 2, 1, 2, 2, 1, 2, 1, 2, 2, 4, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 3, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 1, 1, 4, 2, 2, 2, 2, 3, 2, 1, 2, 2, 3, 2, 4, 1, 2, 2, 1, 2, 2, 1, 4, 2, 2, 3, 2, 1, 4, 2, 2, 2, 5, 1, 2, 3, 2, 1, 2, 2, 2, 2, 2
OFFSET
1,5
LINKS
PROG
(PARI) a(n)=sum(k=1, n, if(numerator(bernfrac(2*n))%k, 0, 1))
CROSSREFS
Cf. A000367.
Sequence in context: A227945 A003647 A353352 * A245548 A025903 A175327
KEYWORD
nonn,changed
AUTHOR
Benoit Cloitre, Jun 21 2003
EXTENSIONS
Missing a(1)=1 inserted and data section extended to a(105) by Antti Karttunen, Jan 19 2025
STATUS
approved