OFFSET
1,2
COMMENTS
a(3k)=0. In general about half the entries are nonzero.
EXAMPLE
Both 2^4=16 and 2^10=1024 have a digital sum of 7 but 2^4 is the smaller so it is the one presented.
MATHEMATICA
a = Table[0, {50}]; Do[b = Plus @@ IntegerDigits[2^n]; If[b < 51 && a[[b]] == 0, a[[b]] = 2^n], {n, 0, 10^4}]; a
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 02 2002
EXTENSIONS
Edited by Robert G. Wilson v, Nov 05 2002
STATUS
approved