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!)
A332298 a(n) is the X-coordinate of the n-th point of the Fibonacci word fractal. Sequence A332299 gives Y-coordinates. 3
0, 1, 2, 2, 3, 4, 4, 4, 3, 3, 3, 4, 4, 4, 3, 2, 2, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 6, 5, 5, 5, 6, 7, 7, 8, 9, 9, 10, 11, 11, 11, 10, 10, 10, 11, 12, 12, 13, 14, 14, 15, 16, 16, 16, 15, 15, 15, 16, 16, 16, 15, 14, 14, 13, 12, 12, 12, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
To build the curve:
- start from the origin looking to the right,
- for k=0, 1, ...:
- move forward to the next lattice point,
- if A003849(k) = 1 then:
- if k is even then turn 90 degrees to the right
- otherwise turn 90 degrees to the left.
LINKS
Robert Ferréol (MathCurve), Courbe du mot de Fibonacci [in French]
Alexis Monnerot-Dumaine, The Fibonacci Word Fractal, HAL-00367972, February 2009.
Rémy Sigrist, Colored representation of the first 1+F(24) points of the Fibonacci word fractal (where the color is function of the greatest Fibonacci number <= n)
PROG
(PARI) A003849(n)=my(k=2); while(fibonacci(k)<=n, k++); while(n>1, while(fibonacci(k--)>n, ); n-=fibonacci(k)); n==1
{ z=0; d=I; for (n=0, 76, print1 (real(z) ", "); if (A003849(n)==0, if (n%2==0, d/=I, d*=I); ); z+=d) }
CROSSREFS
Cf. A003849, A265318, A332299 (Y-coordinates).
Sequence in context: A147968 A366320 A065167 * A300404 A175214 A368700
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Feb 09 2020
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 24 18:15 EDT 2024. Contains 371962 sequences. (Running on oeis4.)