The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A022436 a(n) = c(n-1) + c(n-3) where c is the sequence of numbers not in a. 1

%I #6 Mar 30 2017 04:49:34

%S 1,4,6,7,11,14,18,21,23,27,29,32,35,37,41,44,47,50,53,56,59,63,65,69,

%T 72,75,78,81,83,87,89,93,95,99,101,105,107,111,113,117,119,122,125,

%U 128,131,134

%N a(n) = c(n-1) + c(n-3) where c is the sequence of numbers not in a.

%H Ivan Neretin, <a href="/A022436/b022436.txt">Table of n, a(n) for n = 0..10000</a>

%t Fold[Append[#1, Plus @@ Complement[Range[Max@#1 + 3], #1][[{#2, #2 + 2}]]] &, {1, 4, 6}, Range[43]] (* _Ivan Neretin_, Mar 30 2017 *)

%Y Cf. A022424 and references therein.

%K nonn

%O 0,2

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 15 22:50 EDT 2024. Contains 373412 sequences. (Running on oeis4.)