login
A list of lists where T(n,k) is the smallest n-digit number whose digits have arithmetic mean k, for 1 <= k <= 9.
0

%I #56 May 20 2023 14:52:20

%S 1,2,3,4,5,6,7,8,9,11,13,15,17,19,39,59,79,99,102,105,108,129,159,189,

%T 399,699,999,1003,1007,1029,1069,1199,1599,1999,5999,9999,10004,10009,

%U 10059,10199,10699,12999,17999,49999,99999,100005,100029,100089

%N A list of lists where T(n,k) is the smallest n-digit number whose digits have arithmetic mean k, for 1 <= k <= 9.

%C Subsequence of A061383. The sum of digits of T(n,k) is n*k and they are placed with the first at least 1 and the rest packed as small as possible.

%e Lists begin:

%e k=1 2 3 4 5 6 7 8 9

%e +-----------------------------------------------------

%e n=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9;

%e n=2 | 11, 13, 15, 17, 19, 39, 59, 79, 99;

%e n=3 | 102, 105, 108, 129, 159, 189, 399, 699, 999;

%e n=4 | 1003, 1007, 1029, 1069, 1199, 1599, 1999, 5999, 9999;

%e ...

%e T(3,7) = 399 has digit mean (3+9+9)/3 = 7.

%Y Cf. A007953, A055642, A061383.

%K nonn,base,easy,tabf

%O 1,2

%A _Ctibor O. Zizka_, Apr 15 2023