This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A298005 #4 Feb 09 2018 11:09:34 %S A298005 3,4,5,6,7,8,9,10,11,12,14,15,16,17,19,20,21,22,24,25,26,27,29,30,31, %T A298005 32,34,35,36,37,39,40,41,42,44,45,46,47,49,50,51,52,54,55,56,57,58,59, %U A298005 61,62,63,65,66,67,68,70,71,72,73,75,76,77,78,79,80,82 %N A298005 Solution b( ) of the complementary equation a(n) = a(1)*b(n-1) - a(0)*b(n-2) + 4*n, 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 A298005 The increasing complementary sequences a() and b() are uniquely determined by the titular equation and initial values. The solution a( ) is given at A297837. See A297830 for a guide to related sequences. %C A298005 Conjecture: 7/10 < a(n) - n*L < 3 for n >= 1, where L = -1 + sqrt(5). %H A298005 Clark Kimberling, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL10/Kimberling/kimberling26.html">Complementary equations</a>, J. Int. Seq. 19 (2007), 1-13. %t A298005 a[0] = 1; a[1] = 2; b[0] = 3; b[1] = 4; %t A298005 a[n_] := a[n] = a[1]*b[n - 1] - a[0]*b[n - 2] + 4 n; %t A298005 j = 1; While[j < 80000, k = a[j] - j - 1; %t A298005 While[k < a[j + 1] - j + 1, b[k] = j + k + 2; k++]; j++]; k %t A298005 u = Table[a[n], {n, 0, k}]; (* A297837 *) %t A298005 v = Table[b[n], {n, 0, k}]; (* A298005 *) %t A298005 Take[u, 50] %t A298005 Take[v, 50] %Y A298005 Cf. A297830, A297837. %K A298005 nonn,easy %O A298005 0,1 %A A298005 _Clark Kimberling_, Feb 09 2018