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!)
A334221 a(n) is the Y-coordinate of the point at n steps forward from the origine along the space filling curve U defined in A334188; sequence A334220 gives X-coordinates. 3
0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 1, 2, 3, 3, 2, 1, 1, 2, 3, 4, 4, 4, 5, 6, 6, 5, 4, 4, 4, 3, 2, 1, 1, 2, 3, 3, 2, 1, 0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 1, 2, 3, 3, 2, 1, 1, 2, 3, 4, 4, 4, 5, 6, 7, 7, 6, 5, 5, 6, 7, 7, 6, 5, 4, 3, 3, 4, 5, 6, 7, 7, 6, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,6

LINKS

Rémy Sigrist, Table of n, a(n) for n = 0..8066

Rémy Sigrist, PARI program for A334221

Index entries for sequences related to coordinates of 2D curves

FORMULA

A334188(a(n), A334220(n)) = n.

EXAMPLE

The "forward" branch of curve U starting from the origin is as follows:

     |

    6|                                      25..

     |                                       |

    5|                                      24

     |                                       |

    4|                            21...22...23

     |                             |

    3|                            20   15...14

     |                             |    |    |

    2|                   5....6   19   16   13

     |                   |    |    |    |    |

    1|                   4    7   18...17   12

     |                   |    |              |

    0|    0....1....2....3    8....9...10...11

  ---+----------------------------------------

  y/x|    0    1    2    3    4    5    6    7

- hence a(5) = a(6) = a(13) = a(16) = a(19) = 2.

PROG

(PARI) See Links section.

CROSSREFS

Cf. A334188, A334220.

Sequence in context: A016370 A334577 A219494 * A089069 A143535 A301366

Adjacent sequences:  A334218 A334219 A334220 * A334222 A334223 A334224

KEYWORD

nonn,look

AUTHOR

Rémy Sigrist, Apr 19 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 04:42 EDT 2020. Contains 337317 sequences. (Running on oeis4.)