|
|
A140134
|
|
a(n)=2a(n-1) but when sum of digits of 2a(n-1) is greater than 9 take a(n) = largest number < 2a(n-1) which has sum of digits = 9.
|
|
0
|
|
|
1, 2, 4, 8, 16, 32, 63, 126, 252, 504, 1008, 2016, 4032, 8001, 16002, 32004, 63000, 126000, 252000, 504000, 1008000, 2016000, 4032000, 8001000, 16002000, 32004000, 63000000, 126000000, 252000000, 504000000, 1008000000, 2016000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(12)=4032; 2*4032 = 8064; digit sum is 18; decrease until we get a number with digit sum 9, which is 8001; so a(13) = 8001. - From N. J. A. Sloane, Oct 08 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|