login

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

a(n) = least nonnegative integer not a(k) and not a(k)+floor(a(k)/2) for k<n.
4

%I #5 Oct 24 2024 18:36:15

%S 0,1,2,4,5,8,9,10,11,14,17,18,19,20,22,23,24,26,29,31,32,35,37,38,40,

%T 41,42,44,45,47,49,50,51,53,54,56,58,59,62,64,65,68,69,71,72,74,77,78,

%U 80,82,83,85,86,89,90,91,92,94,95,98,99,100,101,104,105,107,109,110

%N a(n) = least nonnegative integer not a(k) and not a(k)+floor(a(k)/2) for k<n.

%Y Cf. A072757, A072758, A072759.

%K nonn

%O 0,3

%A _Clark Kimberling_, Jul 09 2002