login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A249134
Numbers k such that Bernoulli number B_k has denominator 2730.
29
12, 24, 1308, 1884, 2004, 2364, 2532, 2724, 3804, 4008, 4044, 4188, 4236, 4668, 5052, 5064, 5268, 5388, 5484, 6252, 6492, 6564, 6756, 6852, 7044, 7188, 7356, 7404, 7608, 7764, 8124, 8412, 8472, 8796, 9084, 9228, 9852, 9876, 9924
OFFSET
1,1
COMMENTS
2730 = 2 * 3 * 5 * 7 * 13.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
BernoulliB(12) is -691/2730, hence 12 is in the sequence.
MATHEMATICA
Reap[For[n = 0, n <= 10^4, n = n+12, If[Denominator[BernoulliB[n]] == 2730, Print[n]; Sow[n]]]][[2, 1]]
Select[Table[n, {n, 2, 10000}], Denominator@BernoulliB[#]==2730 &] (* Vincenzo Librandi, Apr 02 2015 *)
PROG
(PARI) is(n)=denominator(bernfrac(n))==2730 \\ Charles R Greathouse IV, Oct 22 2014
(PARI) is(n)=if(n%12 || n%16==0 || n%9==0, return(0)); forprime(p=5, 107, if(n%p==0, return(0))); fordiv(n, d, if(isprime(d+1) && d>13, return(0))); 1 \\ Charles R Greathouse IV, Oct 22 2014
KEYWORD
nonn
AUTHOR
STATUS
approved