OFFSET
0,2
COMMENTS
a(n) = integer part of n*(sqrt(7)+sqrt(5)), where the constant is the largest root of x^4 -24*x^2 +4.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MATHEMATICA
With[{c = Sqrt[7] + Sqrt[5]}, Floor[c Range[0, 70]]] (* Vincenzo Librandi, Aug 01 2013 *)
PROG
(Magma) [Floor(n*(Sqrt(7)+Sqrt(5))): n in [0..60]];
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Vincenzo Librandi, Feb 01 2010
STATUS
approved