Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A115788
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A115788 Floor(n*pi) mod 2. +0
4
1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 (list; graph; listen)
OFFSET

0,1

COMMENT

The arithmetic mean 1/(n+1)*sum(a(k)|k=0...n) converges to 1/2. What is effectively the same: the Cesaro limit (C1) of a(n) is 1/2. When we pick a term of the sequence by random, the probability to get a '1' is 1/2. If we select a '1' randomly, the probability p11 to find a '1' as the next term right of it is p11=pi-3. If we select a '1' randomly, the probability p10 to find a '0' as the next term right of it is p10=4-pi. Analogous statements hold for '0' --> '0' (p00=p11) and '0' --> '1' (p01=p10).

FORMULA

a(n) = Floor(n*pi) mod 2.

EXAMPLE

a(2)=0 because Floor(2*pi)=Floor(6.28...)=6;

a(8)=1 because Floor(8*pi)=Floor(25.13...)=25;

CROSSREFS

Cf. A022844, A115787, A115789, A115790.

Sequence in context: A071022 A071025 A162549 this_sequence A102863 A131483 A077052

Adjacent sequences: A115785 A115786 A115787 this_sequence A115789 A115790 A115791

KEYWORD

nonn

AUTHOR

Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Jan 31 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research