login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163537 The relative direction (0=straight ahead, 1=turn right, 2=turn left) taken by the type II Hilbert's Hamiltonian walk A163336 at the step n. 3
0, 2, 2, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 1, 1, 0, 2, 2, 0, 1, 1, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 2, 2, 0, 1, 1, 0, 2, 2, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 2, 2, 0, 0, 0, 0, 2, 2, 0, 1, 1, 0, 0, 0, 0, 1, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(9*n) = a(81*n) for all n.

LINKS

A. Karttunen, Table of n, a(n) for n = 1..6561

FORMULA

a(n) = A163241((A163535(n+1)-A163535(n)) modulo 4).

PROG

(Scheme:) (define (A163537 n) (A163241 (modulo (- (A163535 (1+ n)) (A163535 n)) 4)))

CROSSREFS

a(n) = A014681(A163536(n)). See also A163535.

Sequence in context: A049825 A039651 A038190 * A117449 A004594 A124210

Adjacent sequences:  A163534 A163535 A163536 * A163538 A163539 A163540

KEYWORD

nonn

AUTHOR

Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), Aug 01 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 21:13 EST 2012. Contains 206085 sequences.