OFFSET
1,2
COMMENTS
See A190364.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
r:=sqrt(2): s:=1/r: t:=sqrt(3): u:=1/t: seq(n + floor(n*r/t) + floor(n*s/t) + floor(n*u/t), n=1..10^3); # Muniru A Asiru, Feb 01 2018
MATHEMATICA
Table[n + Floor[n/3] + Floor[n*Sqrt[2/3]] + Floor[n*Sqrt[1/6]], {n, 1, 30}] (* G. C. Greubel, Jan 31 2018 *)
PROG
(PARI) for(n=1, 30, print1(n + floor(n/3) + floor(n*sqrt(2/3)) + floor(n*sqrt(1/6)), ", ")) \\ G. C. Greubel, Jan 31 2018
(Magma) [n + Floor(n/3) + Floor(n*Sqrt(2/3)) + Floor(n*Sqrt(1/6)): n in [1..30]]; // G. C. Greubel, Jan 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 09 2011
STATUS
approved