Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A014577
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A014577 The regular paper-folding (or dragon curve) sequence. +0
16
1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0 (list; graph; listen)
OFFSET

0,1

COMMENT

Can be computed by storing only one large integer. It is the complement of the bit to the left of the least significant "1" in the binary expansion of n. E.g. n = 4 = 100, so a(4) = complement of bit to left of 1, = 1. - Bob Brown (bobb(AT)webaccess.net), Nov 28 2001

To construct the sequence : start from 1,(..),0,(..),1,(..),0,(..),1,(..),0,(..),1,(..),0,... and fill undefined places with the sequence itself. - Benoit Cloitre (benoit7848c(AT)orange.fr), Jul 08 2007

A014577 is a generator for A088748: begin A088748 with "1" then add 1 if A014577: (1, 1, 0, 1, 1,...) = 1; subtract 1 otherwise, getting (1, 2, 3, 2,...). [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 30 2009]

REFERENCES

M. Gardner, Mathematical Magic Show. New York: Vintage, pp. 207-209 and 215-220, 1978.

G. Melancon, Factorizing infinite words using Maple, MapleTech journal, vol. 4, no. 1, 1997, pp. 34-42, esp. p. 36.

LINKS

Joerg Arndt, Fxtbook

J.-P. Allouche and M. Mendes France, Automata and Automatic Sequences.

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

Index entries for sequences obtained by enumerating foldings

FORMULA

Set a=1, b=0, S(0)=a, S(n+1) = S(n)aF(S(n)), where F(x) reverses x and then interchanges a and b; sequence is limit S(infinity).

a(4n) = 1, a(4n+2) = 0, a(2n+1) = a(n). a(n) = 1 - A014707(n) = 2 - A014709(n) = A014710(n) - 1. - Ralf Stephan (ralf(AT)ark.in-berlin.de), Jul 03 2003

CROSSREFS

See A014707, A014709, A014710 for other versions.

Cf. A038189, A082410, A059125, A065339.

A082410(n+2)=a(n).

A088748 [From Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 30 2009]

Sequence in context: A080813 A100672 A079559 this_sequence A157926 A131377 A077049

Adjacent sequences: A014574 A014575 A014576 this_sequence A014578 A014579 A014580

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Eric Weisstein (eric(AT)weisstein.com)

EXTENSIONS

More terms from Ralf Stephan (ralf(AT)ark.in-berlin.de), Jul 03 2003

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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research