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.

A082845 Partial sums of A082844.

Original entry on oeis.org

2, 5, 7, 10, 12, 14, 17, 19, 22, 24, 26, 29, 31, 34, 36, 39, 41, 43, 46, 48, 51, 53, 55, 58, 60, 63, 65, 68, 70, 72, 75, 77, 80, 82, 84, 87, 89, 92, 94, 96, 99, 101, 104, 106, 109, 111, 113, 116, 118, 121, 123, 125, 128, 130, 133, 135, 138, 140, 142, 145, 147, 150, 152
Offset: 1

Views

Author

Benoit Cloitre, Apr 14 2003

Keywords

Crossrefs

Not the same as A003153.

Programs

  • Mathematica
    With[{s = Sqrt[2]}, Array[1 + Floor[# (1 + s) - (2 - s)] &, 120]] (* Michael De Vlieger, Sep 09 2023 *)

Formula

a(n) = 1+floor((1+sqrt(2))*n-(2-sqrt(2))).