OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*(3 + sqrt(3))).
From Miko Labalan, Dec 17 2016: (Start)
a(n) = 3n + A022838(n);
For n > 0, a(n) = 5*floor(n*(sqrt(3)-1)) + 4*floor(n*(2-sqrt(3))) + 4;
(End)
MATHEMATICA
Table[Floor[(3+Sqrt[3])*n], {n, 54}]
PROG
(Magma) [Floor(n*(3+Sqrt(3))): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 30 2010
EXTENSIONS
Typo in formula corrected by Vincenzo Librandi, Oct 25 2011
STATUS
approved