Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A269332
Smallest multiple of n whose sum of digits is greater than n.
1
2, 4, 6, 8, 15, 18, 28, 48, 99, 290, 66, 96, 78, 98, 495, 288, 289, 1998, 399, 4980, 798, 968, 897, 3888, 5975, 3978, 19899, 6888, 6699, 69990, 7998, 9888, 9999, 29988, 68985, 299988, 74999, 69996, 79989, 799880, 99999, 298998, 89999, 589996, 4999995, 599978, 498999
OFFSET
1,1
PROG
(PARI) a(n) = {my(m=2*n); while (sumdigits(m) <= n, m+=n); m; } \\ Michel Marcus, Feb 24 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Feb 24 2016
STATUS
approved