A169980 Numerator(Bernoulli(2n)) mod denominator(Bernoulli(2n)).
0, 1, 29, 1, 29, 5, 2039, 1, 463, 775, 289, 17, 2039, 1, 811, 12899, 463, 1, 1280537, 1, 11519, 1, 637, 41, 31933, 5, 1507, 775, 811, 53, 34488049, 1, 463, 62483, 29, 289, 91560011, 1, 29, 37, 182293, 77, 2346073, 1, 56003, 230759, 1333, 1, 3051091, 1, 28859, 61, 1507
Offset: 0
Keywords
Links
- Robert G. Wilson v, Table of n, a(n) for n = 0..50000.
- Index entries for sequences related to Bernoulli numbers. [From _Robert G. Wilson v_, Aug 27 2010]
Crossrefs
Programs
-
Mathematica
f[n_] := Block[{b = BernoulliB[2 n]}, Mod[Numerator@b, Denominator@b]]; Array[f, 53, 0] (* Robert G. Wilson v, Aug 27 2010 *)
-
PARI
a(n) = my(b = bernfrac(2*n)); numerator(b) % denominator(b); \\ Michel Marcus, Mar 15 2015
Comments