OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor((n-1/3)*(2+sqrt(2))).
MATHEMATICA
PROG
(PARI) vector(120, n, floor((n-1/3)*(2+sqrt(2)))) \\ G. C. Greubel, Aug 19 2018
(Magma) [Floor((n-1/3)*(2+Sqrt(2))): n in [1..120]]; // G. C. Greubel, Aug 19 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 17 2011
STATUS
approved