OFFSET
1,3
COMMENTS
a(n) = A190440(n) - A078588(n). This follows from substituting w = 1+2u, v = 1+u, and taking 2n, n and n out of the floor functions. - Michel Dekking, Oct 21 2016
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
Burghard Herrmann, How integer sequences find their way into areas outside pure mathematics, The Fibonacci Quarterly (2019) Vol. 57, No. 5, 67-71.
FORMULA
a(n) = [2n+4nu]-[nu]-[n+nu]-[n+2nu], where u=(1+sqrt(5))/2. - Michel Dekking, Oct 21 2016
MATHEMATICA
PROG
(PARI) for(n=1, 30, print1(floor(2*n*(2+sqrt(5))) - floor(n*(1+sqrt(5))/2) - floor(n*(3 + sqrt(5))/2) - floor(n*(2 + sqrt(5))), ", ")) \\ G. C. Greubel, Dec 26 2017
(Magma) [Floor(2*n*(2+Sqrt(5))) - Floor(n*(1+Sqrt(5))/2) - Floor(n*(3 + Sqrt(5))/2): n in [1..30]]; // G. C. Greubel, Dec 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 06 2011
EXTENSIONS
Name corrected by Michel Dekking, Oct 21 2016
STATUS
approved