OFFSET
0,2
COMMENTS
Also integer part of n*4.0599648734..., where the constant is the largest root of x^4 - 18*x^2 + 25.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MAPLE
a:=n->floor(n*(sqrt(7)+sqrt(2))): seq(a(n), n=0..60); # Muniru A Asiru, Sep 28 2018
MATHEMATICA
With[{c = Sqrt[7] + Sqrt[2]}, Floor[c Range[0, 60]]] (* Harvey P. Dale, Mar 23 2011 *)
PROG
(Magma) [Floor(n*(Sqrt(7)+Sqrt(2))): n in [0..60]];
(PARI) vector(60, n, n--; floor(n*(sqrt(7)+sqrt(2)))) \\ G. C. Greubel, Sep 28 2018
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Feb 01 2010
STATUS
approved