login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095111 One minus the parity of 1-fibits in Zeckendorf expansion A014417(n). 4
1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

REFERENCES

Michel Rigo, Formal Languages, Automata and Numeration Systems, 2 vols., Wiley, 2014. Mentions this sequence - see "List of Sequences" in Vol. 2.

LINKS

Table of n, a(n) for n=0..101.

Leonard Rozendaal, Pisano word, tesselation, plane-filling fractal, Preprint, 2017.

Index entries for characteristic functions

FORMULA

a(n)=a'(n+1) where a'(1)=1 and if n>=2 with F(k)<n<=F(k+1) a'(n)=1-a'(n-F(k)) where F(k)=A000045(k). E, g. F(5)=5<6<=F(6)=8 thus a'(6)=1-a'(1)=0 and a(5)=0. - Benoit Cloitre, May 10 2005

PROG

(Python)

def ok(n): return 1 if n==0 else n*(2*n & n == 0)

print [1 - bin(n)[2:].count("1")%2 for n in range(0, 1001) if ok(n)] # Indranil Ghosh, Jun 08 2017

CROSSREFS

a(n) = A010059(A003714(n)). a(n) = 1 - A095076(n). Characteristic function of A095096. Run counts are given by A095276.

Cf. A105774.

Sequence in context: A267679 A267868 A288733 * A166253 A159638 A187615

Adjacent sequences:  A095108 A095109 A095110 * A095112 A095113 A095114

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jun 01 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 28 05:24 EST 2021. Contains 341695 sequences. (Running on oeis4.)