OFFSET
0,5
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = floor(3*a(n-1)/2) - floor(3*a(n-2)/2).
MATHEMATICA
r = 3/2; a[0] = 1; a[1] = 1; z = 100;
a[n_] := a[n] = Floor[r*a[n - 1]] - Floor[r*a[n - 2]];
t = Table[a[n], {n, 0, z}]
RecurrenceTable[{a[0]==a[1]==1, a[n]==Floor[(3a[n-1])/2]-Floor[ (3a[n-2])/ 2]}, a, {n, 60}] (* Harvey P. Dale, Jan 07 2020 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Clark Kimberling, Aug 12 2016
STATUS
approved