OFFSET
1,1
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.
FORMULA
a(n) = 1+floor((1+sqrt(2))*n-(2-sqrt(2))).
MATHEMATICA
With[{s = Sqrt[2]}, Array[1 + Floor[# (1 + s) - (2 - s)] &, 120]] (* Michael De Vlieger, Sep 09 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 14 2003
STATUS
approved