OFFSET
1,1
COMMENTS
870 = 2 * 3 * 5 * 29.
All terms are multiple of a(1) = 28.
For these numbers numerator(B_{n}) mod denominator(B_{n}) = 811.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
EXAMPLE
Bernoulli B_{28} is -23749461029/870, hence 28 is in the sequence.
MAPLE
with(numtheory): P:=proc(q, h) local n; for n from 2 by 2 to q do
if denom(bernoulli(n))=h then print(n); fi; od; end: P(10^6, 870);
MATHEMATICA
Select[28 Range@ 520, Denominator@ BernoulliB@ # == 870 &] (* Michael De Vlieger, Apr 29 2016 *)
PROG
(PARI) isok(n) = denominator(bernfrac(n)) == 870; \\ Michel Marcus, Apr 22 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, Apr 22 2016
EXTENSIONS
a(13)-a(29) from Michel Marcus, Apr 22 2016
More terms from Altug Alkan, Apr 22 2016
STATUS
approved