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
CROSSREFS
KEYWORD
nonn
AUTHOR
Jean-François Alcover and Paul Curtz, Oct 22 2014
STATUS
approved