OFFSET
0,4
COMMENTS
From Elmo R. Oliveira, Jul 25 2024: (Start)
Continued fraction expansion of 2 - sqrt(2) = A101465.
Decimal expansion of 101/9000. (End)
REFERENCES
Sequence proposed by Reg Allenby.
LINKS
Ömür Deveci, Zafer Adıgüzel, and Taha Doğan, On the Generalized Fibonacci-circulant-Hurwitz numbers, Notes on Number Theory and Discrete Mathematics (2020) Vol. 26, No. 1, 179-190.
O. Deveci, Y. Akuzum, E. Karaduman, and O. Erdag, The Cyclic Groups via Bezout Matrices, Journal of Mathematics Research, Vol. 7, No. 2, 2015, pp. 34-41.
Eric Weisstein's World of Mathematics, Fibonacci n-Step Number
Index entries for linear recurrences with constant coefficients, signature (1).
FORMULA
G.f.: x*(1+x^2)/(1-x). - Paul Barry, Feb 28 2003
From Elmo R. Oliveira, Jul 25 2024: (Start)
E.g.f.: 2*exp(x) - x - 1.
a(n) = 2 for n > 2.
MATHEMATICA
CoefficientList[Series[x (1 + x^2)/(1 - x), {x, 0, 104}], x] (* or *)
Nest[Append[#, #[[#[[-1]] + 1]] + #[[#[[-2]] + 1 ]]] &, {0, 1}, 105] (* Michael De Vlieger, Jul 31 2020 *)
PROG
(PARI) a(n)=(n>0)+(n>2)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved