Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #28 Mar 17 2018 04:03:45
%S 1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,
%T 1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,
%U 1,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,0,1,1
%N Single bit representation of the sum of two sinusoids with periods 2 and 2*sqrt(2).
%C Since the ratio of the two periods is irrational, the sequence is strictly non-periodic.
%C From the factorized expression of the corresponding real function of x : 2*cos(2Pi((2 - sqrt(2))/8)x)*sin(2Pi((2 + sqrt(2))/8)x), it is possible to see that the largest distance between consecutive zeros is not greater than the shortest semi-period, 4/(2 + sqrt(2)), that is smaller than 2, and from this it follows that there are no more than two consecutive 0's or 1's.
%H Andres Cicuttin, <a href="/A272532/a272532.pdf">Several segments at different scales of the fractal walk starting at (0,0) with step of unit length turning right if a(n)=1 and left if a(n)=0, except when this rule determines a decrement in the horizontal axes which in that case the step is equal to previous one</a>
%F a(n) = floor( (1 + sin(2*Pi*(1/2)*n) + sin(2*Pi*(1/(2*Sqrt[2]))*n)) mod 2).
%t nmax=120 ; Table[If[Sin[2*Pi*(1/2)*n]+Sin[2*Pi*(1/(2*Sqrt[2]))*n]<0,0,1],{n,1,nmax}]
%Y Conjectured quasiperiodicity in A271591 and A272170. A083035.
%K nonn,base
%O 1,1
%A _Andres Cicuttin_, May 02 2016