cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A163528 The X-coordinate of the n-th point in the Peano curve A163334.

Original entry on oeis.org

0, 1, 2, 2, 1, 0, 0, 1, 2, 3, 4, 5, 5, 4, 3, 3, 4, 5, 6, 7, 8, 8, 7, 6, 6, 7, 8, 8, 7, 6, 6, 7, 8, 8, 7, 6, 5, 4, 3, 3, 4, 5, 5, 4, 3, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 3, 4, 5, 5, 4, 3, 3, 4, 5, 6, 7, 8, 8, 7, 6, 6, 7, 8, 9, 10, 11, 11, 10, 9, 9, 10, 11, 12, 13, 14, 14, 13, 12
Offset: 0

Views

Author

Antti Karttunen, Aug 01 2009

Keywords

Comments

There is a 2-state automaton that accepts exactly those pairs (n,a(n)) where n is represented in base 9 and a(n) in base 3; see accompanying file a163528.pdf - Jeffrey Shallit, Aug 10 2023

Crossrefs

Formula

a(n) = A025581(A163335(n)) = A002262(A163337(n)) = A163325(A163332(n)).

Extensions

Name corrected by Kevin Ryde, Aug 28 2020

A163534 The absolute direction (0=east, 1=south, 2=west, 3=north) of the Peano curve A163334 at point n.

Original entry on oeis.org

0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 3, 2, 2, 3, 0, 0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 2, 2, 2, 3, 0, 0, 3, 2, 2, 2, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 3, 2, 2, 3, 0, 0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 3, 2, 2, 3, 0, 0, 0, 0, 0, 1, 2, 2, 1, 0, 0, 0, 0, 0, 3
Offset: 1

Views

Author

Antti Karttunen, Aug 01 2009

Keywords

Comments

Taking every ninth term gives the same sequence: (and similarly for all higher powers of 9 as well): a(n) = a(9*n).

Crossrefs

Cf. A163535 (transposed direction), A163536 (turn).

Programs

Formula

a(n) = A010873(A163532(n)+A163533(n)+abs(A163533(n))+3).
a(n) = A004442(A163535(n)).

Extensions

Name corrected by Kevin Ryde, Aug 29 2020

A163533 The change in Y-coordinate when moving from the n-1:th to the n-th point in the Peano curve A163334.

Original entry on oeis.org

0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0
Offset: 0

Views

Author

Antti Karttunen, Aug 01 2009

Keywords

Crossrefs

These are the first differences of A163529. See also: A163532, A163534, A163536.

Formula

a(0)=0, a(n) = A163529(n) - A163529(n-1).

Extensions

Name corrected by Kevin Ryde, Aug 29 2020

A163535 The absolute direction (0=east, 1=south, 2=west, 3=north) of the Peano curve A163336 at point n.

Original entry on oeis.org

1, 1, 0, 3, 3, 0, 1, 1, 1, 1, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 0, 3, 3, 0, 1, 1, 0, 3, 3, 0, 1, 1, 0, 3, 3, 3, 3, 3, 2, 1, 1, 2, 3, 3, 3, 3, 3, 0, 1, 1, 0, 3, 3, 0, 1, 1, 0, 3, 3, 0, 1, 1, 1, 1, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 0, 3, 3, 0, 1, 1, 1, 1, 1, 2, 3, 3, 2, 1, 1, 1, 1, 1, 0, 3, 3, 0, 1, 1, 1, 1, 1, 2
Offset: 1

Views

Author

Antti Karttunen, Aug 01 2009

Keywords

Comments

Taking every ninth term gives the same sequence: (and similarly for all higher powers of 9 as well): a(n) = a(9*n).

Crossrefs

Cf. A163534 (transposed), A163537 (turn).

Programs

Formula

a(n) = A010873(A163532(n)+A163533(n)+abs(A163532(n))+3).
a(n) = A004442(A163534(n)).

Extensions

Name corrected by Kevin Ryde, Aug 29 2020
Showing 1-4 of 4 results.