A234788 Solutions to numerator(Bernoulli(k)) == denominator/6 (Bernoulli(k)) (mod 30).
1, 23, 1, 1, 23, 1, 1, 1, 19, 1, 1, 1, 23, 23, 1, 1, 17, 13, 1, 23, 7, 1, 23, 23, 1, 23, 11, 1, 23, 7, 1, 1, 1, 1, 19, 7, 1, 1, 7, 17, 1, 1, 1, 23, 19, 19, 1, 7, 1, 23, 7, 1, 1, 19, 1, 7, 23, 1, 1, 7, 1, 23, 29, 1, 23, 13, 1, 23, 7, 1, 1, 19, 1, 1, 19, 1, 23
Offset: 1
Keywords
Examples
13 is in this sequence because both the numerator and the denominator/6 of a Bernoulli Number are congruent to 13 mod 30. Using my conjectural formula, you can find which Bernoulli Number: 13 is the 18th number in this sequence. k = 20(18-1) + 2. k = 342. So, both the numerator and the denominator/6 of Bernoulli(342) are congruent to 13 mod 30.
Links
- Michael G. Kaarhus, Table of n, a(n) for n = 1..300
Programs
-
Maxima
k:-2$ for n:1 thru 300 step 0 do (k:k+2, b:bern(k), f:mod(num(b), 30), a:mod(denom(b)/6, 30), if f=a then (print(n, ", ", a), if 20*(n-1)+2#k then (print("Exception at k=", k, " n=", n), n:4000), n:n+1))$
Formula
This formula is conjectural, but the program verified it for each of the first 300 numbers in this sequence: to obtain k from the n of this sequence, k = 20(n-1) + 2.
Comments