(MAGMAMagma) [n+Floor((2*n)/Sqrt(2))+Floor((n*(1+Sqrt(2)))/Sqrt(2)): n in [1..120]]; // G. C. Greubel, Aug 19 2018
(MAGMAMagma) [n+Floor((2*n)/Sqrt(2))+Floor((n*(1+Sqrt(2)))/Sqrt(2)): n in [1..120]]; // G. C. Greubel, Aug 19 2018
proposed
approved
editing
proposed
editing
proposed
G. C. Greubel, <a href="/A189458/b189458.txt">Table of n, a(n) for n = 1..10000</a>
(PARI) vector(120, n, n+floor((2*n)/sqrt(2))+floor((n*(1+sqrt(2)))/sqrt(2))) \\ G. C. Greubel, Aug 19 2018
(MAGMA) [n+Floor((2*n)/Sqrt(2))+Floor((n*(1+Sqrt(2)))/Sqrt(2)): n in [1..120]]; // G. C. Greubel, Aug 19 2018
approved
editing
editing
approved
Table[n+Floor[(2n)/Sqrt[2]]+Floor[(n(1+Sqrt[2]))/Sqrt[2]], {n, 90}] (* Harvey P. Dale, Feb 04 2015 *)
approved
editing
_Clark Kimberling (ck6(AT)evansville.edu), _, Apr 22 2011
proposed
approved