OFFSET
1,2
COMMENTS
LINKS
FORMULA
a(n) = floor(n*(3-sqrt(2))).
MATHEMATICA
Floor[Range[70](3-Sqrt[2])] (* Harvey P. Dale, Apr 21 2013 *)
PROG
(Magma) [Floor(n*(3-Sqrt(2))): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011
(PARI) vector(100, n, floor(n*(3-sqrt(2)))) \\ G. C. Greubel, Aug 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 30 2010
STATUS
approved