|
|
A173329
|
|
a(n) = a(n-2) + a(n-3) - floor(a(n-3)/2) - floor(a(n-6)/2).
|
|
1
|
|
|
1, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 8, 8, 10, 10, 11, 12, 12, 14, 13, 15, 15, 16, 17, 17, 19, 19, 21, 21, 23, 24, 25, 27, 27, 30, 30, 32, 33, 34, 36, 36, 38, 38, 40, 40, 41, 42, 42, 44, 43, 45, 45, 46, 47, 47, 49, 49, 51, 51, 53, 54, 55, 57, 57, 60, 60, 62, 63
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
This sequence is interesting because in the graph of a(n+1)/a(n) there are four modes all approaching one at different rates.
|
|
LINKS
|
|
|
FORMULA
|
a(n+30) = a(n)+30 for n>=12.
|
|
MATHEMATICA
|
f[-4] = 0; f[-3] = 0; f[-2] = 0; f[-1] = 0; f[0] = 1; f[1] = 1;
f[n_] := f[n] = f[n - 2] + f[n - 3] - Floor[f[n - 3]/2] - Floor[f[n - 6]/2]
Table[f[n], {n, 0, 50}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|