OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..274
MATHEMATICA
ssm[n_]:=Module[{k=2}, While[Total[IntegerDigits[k*n]]!=n, k++]; k*n]; Array[ ssm, 50] (* Harvey P. Dale, Nov 24 2012 *)
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
Amarnath Murthy, Apr 02 2002
EXTENSIONS
Offset corrected by Harvey P. Dale, Nov 24 2012
STATUS
approved