A082845 Partial sums of A082844.
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
Keywords
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
- Robbert Fokkink, The Pell Tower and Ostronometry, arXiv:2309.01644 [math.CO], 2023.
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))).