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!)
A186447 a(n)=a(floor(n/3)+a(n-1)*floor(n/4)) XOR a(floor(n/2)) 0
1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
COMMENTS
A simple unpredictable binary sequence.
Conjecture: All finite binary words appear in the sequence infinitely many times.
The sequence appears to have a slight bias towards 0. From n=0 through n=999, there are 510 1's. But after 10000 terms, the sequence has produced only 4900 1's. And after 10000000 terms, the sequence has produced 4910267 1's.
LINKS
EXAMPLE
For n=20, a(n)=a(10) XOR a(floor(20/3)+a(19)*5)
=0 XOR a(11)=0 XOR 0 =0.
MATHEMATICA
f[0] = f[1] = 1; f[n_] := f[n] =
Mod[f[Floor[n/3] + f[n - 1] Floor[n/4]] + f[Floor[n/2]], 2]; Table[f[n], {n, 0, 100}]
CROSSREFS
Sequence in context: A095901 A087049 A358680 * A118009 A113429 A133100
KEYWORD
nonn
AUTHOR
Ben Branman, Feb 21 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 April 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)