cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A316492 Numbers k such that the average digit in the concatenation of the numbers from 1 through k is an integer.

This page as a plain text file.
%I A316492 #6 Aug 18 2018 15:06:44
%S A316492 1,3,5,7,9,122,576,1422,1876,4122,4576
%N A316492 Numbers k such that the average digit in the concatenation of the numbers from 1 through k is an integer.
%C A316492 Equivalently, numbers k such that A058183(k) divides A037123(k).
%C A316492 4576 is the final term; 4 < A037123(k)/A058183(k) < 5 for all k > 4576.
%e A316492 9 is a term because the average digit in 123456789 is (1+2+3+4+5+6+7+8+9)/9 = 45/9 = 5 (an integer).
%e A316492 122 is a term because 12345789101112..119120121122 has digit sum 1032 and digit count 258, and 1032/258 = 4 (an integer).
%t A316492 Flatten@ Position[ Divide @@@ Transpose[ Accumulate /@ {Total /@ #, Length /@ #} &@ IntegerDigits@ Range@ 5000], _Integer] (* _Giovanni Resta_, Aug 12 2018 *)
%Y A316492 Cf. A033713, A034967, A037123, A058183, A114136.
%K A316492 nonn,base,fini,full
%O A316492 1,2
%A A316492 _Jon E. Schoenfield_, Aug 11 2018