OFFSET
1,1
COMMENTS
Subsequence of A166311.
Numbers with digit sum 11 and even-numbered digits all 0. - Robert Israel, Mar 16 2017
If m is a term, so is 10*m. - Zak Seidov, Mar 17 2017
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
F:= proc(d, t) option remember;
if d <= 1 then
if t <= 9 then return [t*10^d] else return [] fi;
fi;
[seq(seq(j*10^d+s, s = procname(d-2, t-j)), j=0..min(9, t))]
end proc:
sort([op(F(4, 11)), op(F(5, 11))]); # Robert Israel, Mar 16 2017
MATHEMATICA
Reap[Do[If[11==Total[IntegerDigits[m=11*k]], Sow[m]], {k, 3000}]][[2, 1]]
Select[Range[209, 30404, 11], 11==Total[IntegerDigits[#]]&]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Mar 15 2017
STATUS
approved