%I A115789
%S A115789 1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,
%T A115789 0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,
%U A115789 0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1
%N A115789 (Floor((n+1)*pi)-Floor(n*pi)) mod 2.
%C A115789 The arithmetic mean 1/(n+1)*sum(a(k)|k=0...n) converges to 4-pi. What
is effectively the same: the Cesaro limit (C1) of a(n) is 4-pi.
%F A115789 a(n) = (Floor((n+1)*pi)-Floor(n*pi)) mod 2.
%e A115789 a(6)=1 because 7*pi=21.99, 6*pi=18.85 and so a(6)=(21-18) mod 2 = 1;
%e A115789 a(7)=0 because 8*pi=25.13 and so a(7)=(25-21) mod 2 = 0;
%Y A115789 Cf. A022844, A115787, A115788, A115790.
%Y A115789 Sequence in context: A118172 A118111 A119981 this_sequence A053864 A129667
A071374
%Y A115789 Adjacent sequences: A115786 A115787 A115788 this_sequence A115790 A115791
A115792
%K A115789 nonn
%O A115789 0,1
%A A115789 Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Jan 31 2006
|