OFFSET
1
COMMENTS
See A187950.
The frequency of 1 in (a(n)) is equal to 6*sqrt(2)-8. This can be determined from the 6-block substitution sigma-hat of sigma given by sigma(1)=12, sigma(2)=121, which generates A006337. - Michel Dekking, Jan 24 2017
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
F. Michel Dekking, Morphisms, Symbolic Sequences, and Their Standard Forms, Journal of Integer Sequences, Vol. 19 (2016), Article 16.1.1.
FORMULA
a(n) = [(n+6)*r] - [n*r] - [6*r], where r=sqrt(2).
MATHEMATICA
PROG
(PARI) for(n=1, 30, print1(floor((n+6)*sqrt(2)) - floor(n*sqrt(2)) - floor(6*sqrt(2)), ", ")) \\ G. C. Greubel, Jan 31 2018
(Magma) [Floor((n+6)*Sqrt(2)) - Floor(n*Sqrt(2)) - Floor(6*Sqrt(2)): n in [1..30]]; // G. C. Greubel, Jan 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2011
STATUS
approved