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!)
A340328 a(n) is the Y-coordinate of the n-th point of a variant of the quadratic Koch curve. Sequence A340327 gives X-coordinates. 3

%I #11 Jan 07 2021 10:31:38

%S 0,0,1,1,0,0,1,1,2,2,3,3,2,2,1,1,0,0,1,1,0,0,1,1,2,2,3,3,2,2,3,3,4,4,

%T 5,5,4,4,5,5,6,6,7,7,6,6,5,5,4,4,5,5,4,4,3,3,2,2,3,3,2,2,1,1,0,0,1,1,

%U 0,0,1,1,2,2,3,3,2,2,1,1,0,0,1,1,0,0,1

%N a(n) is the Y-coordinate of the n-th point of a variant of the quadratic Koch curve. Sequence A340327 gives X-coordinates.

%C The curve is built by successively applying the following substitution to an initial vector (1, 0) (we have 4 copies and a horizontal unit vector):

%C .-.

%C ^ |

%C | |

%C | v

%C .------>. .------>.

%C The curve visits once or twice every lattice point (x, y) such that 0 <= y <= x.

%C The quadratic Koch curve is built from 5 copies at each step.

%H Rémy Sigrist, <a href="/A340328/b340328.txt">Table of n, a(n) for n = 0..5461</a>

%H Robert Ferréol (MathCurve), <a href="https://www.mathcurve.com/fractals/kochquadratique/kochquadratique.shtml">Courbe de Koch quadratique</a> [in French]

%H Rémy Sigrist, <a href="/A340328/a340328.gp.txt">PARI program for A340328</a>

%H <a href="/index/Con#coordinates_2D_curves">Index entries for sequences related to coordinates of 2D curves</a>

%e The curve starts as follows:

%e +

%e |42

%e |

%e +----+

%e |40 41

%e |

%e +----+----+

%e |34 |35 |38

%e | |39 |

%e +----+ +----+

%e |32 33 36 37

%e |

%e +----+----+ +----+

%e |10 |11 |30 |27 |26

%e | |31 | | |

%e +----+ +----+----+----+

%e |8 9 12 |13 |24 25

%e | |29 |28

%e +----+----+ +----+----+----+

%e |2 |3 |6 |15 |14 |19 |22

%e | |7 | | |18 |23 |

%e +----+ +----+ +----+ +----+

%e 0 1 4 5 16 17 20 21

%e - so a(8) = a(9) = a(12) = a(13) = a(24) = a(25) = a(28) = a(29) = 2,

%e a(40) = a(41) = 6.

%o (PARI) See Links section.

%Y See A332250 and A340321 for similar sequences.

%Y Cf. A340327 (X-coordinates).

%K nonn

%O 0,9

%A _Rémy Sigrist_, Jan 04 2021

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 July 20 12:27 EDT 2024. Contains 374445 sequences. (Running on oeis4.)