login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = floor((a(n-1)+a(n-2)+n)/a(n-2)), with a(1)=1, a(2)=2.
3

%I #6 Jul 15 2024 23:33:07

%S 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,

%T 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,

%U 11,9,8,9,11,10,8,9,11,10,8,9,12,11,8,9

%N a(n) = floor((a(n-1)+a(n-2)+n)/a(n-2)), with a(1)=1, a(2)=2.

%t a[1] = 1; a[2] = 2;

%t a[n_] := a[n] = Floor[(a[n - 1] + a[n - 2] + n)/a[n - 2]];

%t Table[a[n], {n, 1, 100}]

%Y Cf. A372982, A372983, A372984.

%K nonn

%O 1,2

%A _Clark Kimberling_, Jul 09 2024