cp's OEIS Frontend

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.

A022936 a(n) = a(n-1) + c(n-1) for n >= 2, a( ) increasing, given a(1)=4; where c( ) is complement of a( ).

This page as a plain text file.
%I A022936 #8 Apr 04 2016 18:54:33
%S A022936 4,5,7,10,16,24,33,44,56,69,83,98,115,133,152,172,193,215,238,263,289,
%T A022936 316,344,373,403,434,466,500,535,571,608,646,685,725,766,808,851,896,
%U A022936 942,989,1037,1086,1136,1187,1239,1292,1346,1401,1458,1516
%N A022936 a(n) = a(n-1) + c(n-1) for n >= 2, a( ) increasing, given a(1)=4; where c( ) is complement of a( ).
%H A022936 Ivan Neretin, <a href="/A022936/b022936.txt">Table of n, a(n) for n = 1..10000</a>
%t A022936 Fold[Append[#1, #1[[#2]] + Complement[Range@Max@#1, #1][[#2]]] &, {4},
%t A022936 Range[50]] (* _Ivan Neretin_, Apr 04 2016 *)
%Y A022936 Cf. A005228 and references therein.
%K A022936 nonn
%O A022936 1,1
%A A022936 _Clark Kimberling_