login
Numbers that have the largest possible remainder when divided by their digit sum.
5

%I #14 Nov 07 2021 10:01:50

%S 1,2,3,4,5,6,7,8,9,79,799,9599,9887,98999,599999,689999,698999,699899,

%T 779999,788999,789899,797999,798899,799799,869999,878999,879899,

%U 887999,888899,889799,896999,897899,898799,899699,959999,968999,969899,977999,978899,979799,986999,987899,988799,989699,995999,996899,997799,998699,999599

%N Numbers that have the largest possible remainder when divided by their digit sum.

%C For the largest remainder of an n-digit number when divided by its sum of digits see A348730.

%H Chai Wah Wu, <a href="/A348799/b348799.txt">Table of n, a(n) for n = 1..10000</a>

%e 2-digit number 79 = 15 mod 16.

%e 3-digit number 799 = 24 mod 25.

%e 4-digit numbers 9599 = 31 mod 32 and 9887 = 31 mod 32.

%Y Cf. A348730.

%K nonn,base

%O 1,2

%A _Martin Renner_, Oct 31 2021