OFFSET
1,2
COMMENTS
All terms are multiples of 9.
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) local L, LP;
L:= convert(n, base, 10);
LP:= convert(n+convert(L, `+`), base, 10);
sort(L) = sort(LP)
end proc:
select(filter, [$0..10000]); # Robert Israel, Aug 31 2014
PROG
(PARI)
for(n=0, 10^4, if(vecsort(digits(n+sumdigits(n)))==vecsort(digits(n)), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Derek Orr, Aug 25 2014
STATUS
approved