OFFSET
0,4
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = floor(r*a(n-1)) + floor(r*a(n-2)) + floor(r*a(n-3)), where r = 3/2, a(0) = a(1) = a(2) = 1.
MATHEMATICA
r = 3/2; a[0] = 1; a[1] = 1; a[2] = 1; z = 50;
a[n_] := a[n] = Floor[r*a[n - 1]] + Floor[r*a[n - 2]] + Floor[r*a[n - 3]];
t = Table[a[n], {n, 0, z}]
nxt[{a_, b_, c_}]:={b, c, Floor[(3a)/2]+Floor[(3b)/2]+Floor[(3c)/2]}; NestList[ nxt, {1, 1, 1}, 40][[All, 1]] (* Harvey P. Dale, Mar 13 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Clark Kimberling, Aug 12 2016
STATUS
approved