OFFSET
1,2
LINKS
FORMULA
Let f(n) = floor(r*floor(s*n)) = A022804(n), where r = sqrt(2) and s = r + 2. Let a(1) = 1. Then a(n) = f(a(n-1)) for n >= 2.
G.f.: x*(1 - x - 2*x^2)/(1 - 5*x + 4*x^3). - Stefano Spezia, Feb 13 2021
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 13 2021
STATUS
approved