login
A372985
a(n) = floor((a(n-1)+a(n-2)+n)/a(n-2)), with a(1)=1, a(2)=2.
3
1, 2, 6, 6, 2, 2, 5, 7, 4, 3, 4, 6, 5, 4, 4, 6, 6, 5, 5, 6, 6, 5, 5, 6, 7, 6, 5, 6, 8, 7, 5, 6, 8, 8, 6, 6, 8, 8, 6, 6, 8, 9, 7, 6, 8, 10, 8, 6, 7, 10, 9, 7, 7, 9, 10, 8, 7, 9, 10, 8, 7, 9, 11, 9, 7, 9, 11, 9, 8, 9, 11, 10, 8, 9, 11, 10, 8, 9, 12, 11, 8, 9
OFFSET
1,2
MATHEMATICA
a[1] = 1; a[2] = 2;
a[n_] := a[n] = Floor[(a[n - 1] + a[n - 2] + n)/a[n - 2]];
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jul 09 2024
STATUS
approved