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.

A352323 Positive numbers that are not the sum of distinct Pell numbers (A000129).

Original entry on oeis.org

4, 9, 10, 11, 16, 21, 22, 23, 24, 25, 26, 27, 28, 33, 38, 39, 40, 45, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 74, 79, 80, 81, 86, 91, 92, 93, 94, 95, 96, 97, 98, 103, 108, 109, 110, 115, 120, 121, 122, 123, 124, 125, 126
Offset: 1

Views

Author

Amiram Eldar, Mar 12 2022

Keywords

Comments

Alternatively, those positive integers whose Pell representation contains no digit 2. - Jeffrey Shallit, Jan 08 2025

Crossrefs

Cf. A000129.

Programs

  • Mathematica
    pell = LinearRecurrence[{2, 1}, {1, 2}, 7]; Complement[Range[pell[[-1]]], Select[Union[Plus @@@ Subsets[pell]], 0 < # <= pell[[-1]] &]]