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.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

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

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

%S 2,3,4,7,13,15,18,20,22,25,28,31,35,38,42,45,49,51,55,57,61,63,66,69,

%T 71,75,77,80,83,85,89,91,94,97,100,103,106,109,112,115,118,121,124,

%U 127,131,133

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

%H Ivan Neretin, <a href="/A022437/b022437.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}]]] &, {2, 3, 4}, Range[43]] (* _Ivan Neretin_, Mar 30 2017 *)

%Y Cf. A022424 and references therein.

%K nonn

%O 0,1

%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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 12:10 EDT 2024. Contains 372826 sequences. (Running on oeis4.)