|
|
A302556
|
|
Expansion of x*(1 + 2*x*(5 - 4*x)*(1 + x^2)*(1 + x^4))/((1 - x)*(1 - 10*x^9)).
|
|
0
|
|
|
0, 1, 11, 3, 13, 5, 15, 7, 17, 9, 19, 119, 39, 139, 59, 159, 79, 179, 99, 199, 1199, 399, 1399, 599, 1599, 799, 1799, 999, 1999, 11999, 3999, 13999, 5999, 15999, 7999, 17999, 9999, 19999, 119999, 39999, 139999, 59999, 159999, 79999, 179999, 99999, 199999, 1199999, 399999
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
a(n) is the smallest number whose sum of odd decimal digits is n.
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,10,-10).
|
|
FORMULA
|
G.f.: x*(1 + 2*x*(5 - 4*x)*(1 + x^2)*(1 + x^4))/((1 - x)*(1 - 10*x^9)).
a(n) = a(n-1) + 10*a(n-9) - 10*a(n-10).
|
|
MATHEMATICA
|
CoefficientList[Series[x (1 + 2 x (5 - 4 x) (1 + x^2) (1 + x^4))/((1 - x) (1 - 10 x^9)), {x, 0, 48}], x]
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 10, -10}, {0, 1, 11, 3, 13, 5, 15, 7, 17, 9}, 49]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|