|
|
A162671
|
|
Generalized Fibonacci numbers
|
|
1
|
|
|
1, 1, 101, 102, 10301, 10403, 1050601, 1061004, 107151001, 108212005, 10928351501, 11036563506, 1114584702101, 1125621265607, 113676711262801, 114802332528408, 11593909964103601, 11708712296632009
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
FORMULA
|
For n even a(n) = a(n-1) + a(n-2), for n odd a(n) = 100*a(n-1)+ a(n-2); with a(0) = 0, a(1) = 1
a(n)=102*a(n-2)-a(n-4). G.f.: -x*(-1-x+x^2)/((x^2+10*x-1)*(x^2-10*x-1)). [From R. J. Mathar, Jul 14 2009]
|
|
MATHEMATICA
|
LinearRecurrence[{0, 102, 0, -1}, {1, 1, 101, 102}, 20] (* Harvey P. Dale, May 08 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|