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.

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

Original entry on oeis.org

2, 3, 4, 7, 13, 15, 18, 20, 22, 25, 28, 31, 35, 38, 42, 45, 49, 51, 55, 57, 61, 63, 66, 69, 71, 75, 77, 80, 83, 85, 89, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 131, 133
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A022424 and references therein.

Programs

  • Mathematica
    Fold[Append[#1, Plus @@ Complement[Range[Max@#1 + 3], #1][[{#2, #2 + 2}]]] &, {2, 3, 4}, Range[43]] (* Ivan Neretin, Mar 30 2017 *)