login
A163535
The absolute direction (0=east, 1=south, 2=west, 3=north) of the Peano curve A163336 at point n.
3
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,4
COMMENTS
Taking every ninth term gives the same sequence: (and similarly for all higher powers of 9 as well): a(n) = a(9*n).
LINKS
FORMULA
a(n) = A010873(A163532(n)+A163533(n)+abs(A163532(n))+3).
a(n) = A004442(A163534(n)).
PROG
(Scheme:) (define (A163535 n) (modulo (+ 3 (A163532 n) (A163533 n) (abs (A163532 n))) 4))
CROSSREFS
Cf. A163534 (transposed), A163537 (turn).
Sequence in context: A245626 A307233 A233320 * A288395 A288644 A172169
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 01 2009
EXTENSIONS
Name corrected by Kevin Ryde, Aug 29 2020
STATUS
approved