%I #5 Feb 06 2018 19:28:16
%S 1,2,10,13,17,20,24,27,33,35,41,43,47,52,55,60,63,66,72,74,80,82,86,
%T 89,93,98,103,105,109,112,116,121,126,128,132,137,140,143,147,152,155,
%U 160,163,166,170,175,178,183,186,191,194,197,201,204,210,214,217
%N Solution of the complementary equation a(n) = a(1)*b(n-1) - a(0)*b(n-2) + floor(5*n/2), where a(0) = 1, a(1) = 2, b(0) = 3, b(1) = 4, and (b(n)) is the increasing sequence of positive integers not in (a(n)). See Comments.
%C The increasing complementary sequences a() and b() are uniquely determined by the titular equation and initial values.
%H Clark Kimberling, <a href="/A297998/b297998.txt">Table of n, a(n) for n = 0..10000</a>
%e a(0) = 1, a(1) = 2, b(0) = 3, b(1) = 4, so that a(2) = 10.
%e Complement: (b(n)) = (3,4,5,6,7,8,9,11,12,14,15,16,18,19,21,...)
%t a[0] = 1; a[1] = 2; b[0] = 3; b[1] = 4;
%t a[n_] := a[n] = a[1]*b[n - 1] - a[0]*b[n - 2] + Floor[5/2];
%t j = 1; While[j < 100, k = a[j] - j - 1;
%t While[k < a[j + 1] - j + 1, b[k] = j + k + 2; k++]; j++]; k
%t Table[a[n], {n, 0, k}] (* A297998 *)
%Y Cf. A297826, A297830, A297836.
%K nonn,easy
%O 0,2
%A _Clark Kimberling_, Feb 04 2018