OFFSET
1
COMMENTS
(a(n)) is essentially the same as A188014 and also as A187950. The second sequence is a shift of (a(n)), and the first sequence is obtained by applying [-x]=[x]-1 for all non-integer x. This gives a(n) = 1-A188014(n) for all n not equal to 4. - Michel Dekking, Oct 04 2016
FORMULA
a(n)=[4r]-[nr]-[4r-nr], where r=(1+sqrt(5))/2.
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 01 2011
STATUS
approved