a(n) = smallest k such that the digit sum of 8k is n.

A077495

a(n) = smallest k such that the digit sum of 8k is n.

Terms

    a(0) =0a(1) =125a(2) =25a(3) =15a(4) =5a(5) =4a(6) =3a(7) =2a(8) =1a(9) =9a(10) =8a(11) =7a(12) =6a(13) =23a(14) =22a(15) =12a(16) =11a(17) =37a(18) =36a(19) =62a(20) =61a(21) =87a(22) =86a(23) =112a(24) =111a(25) =236a(26) =361a(27) =486a(28) =611a(29) =736

External references