|
|
|
|
1, 1, 2, 5, 10, 10, 20, 50, 100, 100, 200, 500, 1000, 1000, 2000, 5000, 10000, 10000, 20000, 50000, 100000, 100000, 200000, 500000, 1000000, 1000000, 2000000, 5000000, 10000000, 10000000, 20000000, 50000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
3=1+2, 4=1+1+2, 6=1+5, 7=2+5, 8=1+2+5, 9=1+1+2+5, 11=1+10, 12=2+10, 13=1+2+10.
a(n) is used only once. Like weights.
|
|
LINKS
|
|
|
FORMULA
|
a(1)=1, a(2)=1, a(3)=2, a(4)=5, a(n)=10*a(n-4). G.f.: x*(1+x+2*x^2+5*x^3)/(1-10*x^4). [Colin Barker, Jan 25 2012]
|
|
MATHEMATICA
|
LinearRecurrence[{0, 0, 0, 10}, {1, 1, 2, 5}, 40] (* Harvey P. Dale, Jan 21 2019 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|