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 A022944 #7 Apr 06 2016 12:02:30 %S A022944 2,4,5,10,12,18,21,29,34,43,49,59,66,78,86,100,109,124,134,150,161, %T A022944 178,191,209,223,242,258,278,295,316,334,356,375,398,419,443,465,490, %U A022944 513,540,564,592,617,646,672,702,729,760,789,821,851,884,915 %N A022944 a(n) = a(n-2) + c(n-1) for n >= 3, a( ) increasing, given a(1)=2, a(2)=4; where c( ) is complement of a( ). %H A022944 Ivan Neretin, <a href="/A022944/b022944.txt">Table of n, a(n) for n = 1..10000</a> %t A022944 Fold[Append[#1, #1[[-2]] + Complement[Range[Max@#1 + 2], #1][[#2]]] &, {2, 4}, Range[2, 52]] (* _Ivan Neretin_, Apr 05 2016 *) %Y A022944 Cf. A005228 and references therein. %K A022944 nonn %O A022944 1,1 %A A022944 _Clark Kimberling_