OFFSET
1,1
FORMULA
a(n) = floor( n*(1+sqrt(3)) ) = n + floor(n*sqrt(3)). - R. J. Mathar, Feb 26 2011
a(n) = n + A022838(n). - R. J. Mathar, Jan 25 2015
From Miko Labalan, Dec 17 2016: (Start)
For n > 0, a(n) = 3*floor(n*(sqrt(3)-1)) + 2*floor(n*(2-sqrt(3))) + 2;
MAPLE
A054088 := proc(n) floor(n*(1+sqrt(3))) ; end proc: # R. J. Mathar, Feb 26 2011
MATHEMATICA
Table[Floor[n (1 + Sqrt[3])], {n, 100}] (* Wesley Ivan Hurt, Dec 17 2016 *)
PROG
(Magma) [3*Floor(n*(Sqrt(3)-1))+2*Floor(n*(2-Sqrt(3)))+2: n in [1..60]]; // Vincenzo Librandi, Dec 18 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
A-number in the definition corrected by R. J. Mathar, Oct 05 2008
STATUS
approved