OFFSET
1,1
COMMENTS
14322 = 2*3*7*11*31.
All terms are multiples of a(1) = 30.
For these numbers numerator(B_{k}) mod denominator(B_{k}) = 12899.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
EXAMPLE
Bernoulli B_{30} is 8615841276005/14322, hence 30 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, 14322);
# Alternative: # according to Robert Israel code in A282773
with(numtheory): filter:= n ->
select(isprime, map(`+`, divisors(n), 1)) = {2, 3, 7, 11, 31}:
select(filter, [seq(i, i=1..10^5)]);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, Nov 24 2017
STATUS
approved