login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187976 a(n) = [nr+kr]-[nr]-[kr], where r=sqrt(2), k=6, [ ]=floor. 4
0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
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
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
r=2^(1/2);
seqA=Table[Floor[(n+6)r]-Floor[n*r]-Floor[6r], {n, 1, 220}] (* A187976 *)
Flatten[Position[seqA, 0] ] (* A187977 *)
Flatten[Position[seqA, 1] ] (* A187978 *)
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
Sequence in context: A163538 A267188 A154104 * A197879 A296657 A082848
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 17 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 15 19:46 EDT 2024. Contains 375954 sequences. (Running on oeis4.)