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

A362038
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
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 17, 19, 39, 59, 79, 99, 102, 105, 108, 129, 159, 189, 399, 699, 999, 1003, 1007, 1029, 1069, 1199, 1599, 1999, 5999, 9999, 10004, 10009, 10059, 10199, 10699, 12999, 17999, 49999, 99999, 100005, 100029, 100089
OFFSET
1,2
COMMENTS
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.
EXAMPLE
Lists begin:
k=1 2 3 4 5 6 7 8 9
+-----------------------------------------------------
n=1 | 1, 2, 3, 4, 5, 6, 7, 8, 9;
n=2 | 11, 13, 15, 17, 19, 39, 59, 79, 99;
n=3 | 102, 105, 108, 129, 159, 189, 399, 699, 999;
n=4 | 1003, 1007, 1029, 1069, 1199, 1599, 1999, 5999, 9999;
...
T(3,7) = 399 has digit mean (3+9+9)/3 = 7.
CROSSREFS
KEYWORD
nonn,base,easy,tabf
AUTHOR
Ctibor O. Zizka, Apr 15 2023
STATUS
approved