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”).

Numbers n such that Bernoulli number B_{n} has denominator 870.
27

%I #25 Apr 29 2016 09:17:29

%S 28,56,532,868,1064,1736,1988,2828,2884,3052,3836,5068,5516,5768,5908,

%T 6104,6244,6356,6412,6748,7196,7364,7924,8708,8764,8876,9268,9716,

%U 9772,10108,10136,10276,10724,10892,11032,11228,11816,12292,12488,12796,12824,12908,12964,13076,13412,13496,14392

%N Numbers n such that Bernoulli number B_{n} has denominator 870.

%C 870 = 2 * 3 * 5 * 29.

%C All terms are multiple of a(1) = 28.

%C For these numbers numerator(B_{n}) mod denominator(B_{n}) = 811.

%H Seiichi Manyama, <a href="/A272185/b272185.txt">Table of n, a(n) for n = 1..1000</a>

%e Bernoulli B_{28} is -23749461029/870, hence 28 is in the sequence.

%p with(numtheory): P:=proc(q,h) local n; for n from 2 by 2 to q do

%p if denom(bernoulli(n))=h then print(n); fi; od; end: P(10^6,870);

%t Select[28 Range@ 520, Denominator@ BernoulliB@ # == 870 &] (* _Michael De Vlieger_, Apr 29 2016 *)

%o (PARI) isok(n) = denominator(bernfrac(n)) == 870; \\ _Michel Marcus_, Apr 22 2016

%Y Cf. A045979, A051222, A051225, A051226, A051227, A051228, A051229, A051230, A119456, A119480, A249134, A255684, A271634, A271635, A272138, A272139, A272140, A272183, A272184, A272186.

%K nonn

%O 1,1

%A _Paolo P. Lava_, Apr 22 2016

%E a(13)-a(29) from _Michel Marcus_, Apr 22 2016

%E More terms from _Altug Alkan_, Apr 22 2016