OFFSET
1,1
COMMENTS
4501770 = 2*3*5*7*13*17*97.
All terms are multiples of a(1) = 96.
For these numbers numerator(B_{k}) mod denominator(B_{k}) = 3051091.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
EXAMPLE
Bernoulli B_{96} is
-211600449597266513097597728109824233673043954389060234150638733420050668349987 259/4501770 hence 96 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, 4501770);
# Alternative: according to Robert Israel code in A282773
with(numtheory): filter:= n ->
select(isprime, map(`+`, divisors(n), 1)) = {2, 3, 5, 7, 13, 17, 97}:
select(filter, [seq(i, i=1..10^5)]);
MATHEMATICA
96*Flatten[Position[BernoulliB[Range[96, 31*10^4, 96]], _?(Denominator[ #] == 4501770&)]] (* The program takes a long time to run *) (* Harvey P. Dale, May 06 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, Nov 24 2017
STATUS
approved
