OFFSET
0,2
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
EXAMPLE
a(90) = 18 because 11 * 90 = 990 and 9 + 9 + 0 = 18.
a(91) = 2 because 11 * 91 = 1001 and 1 + 0 + 0 + 1 = 2.
MAPLE
a:= n -> convert(convert(11*n, base, 10), `+`):
seq(a(n), n=0..100); # Robert Israel, Aug 01 2014
MATHEMATICA
Table[Plus@@IntegerDigits[11n], {n, 0, 99}]
PROG
(PARI) a(n) = sumdigits(11*n); \\ Michel Marcus, Aug 03 2014
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Alonso del Arte, Jul 27 2014
STATUS
approved