Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163542
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163542 The relative direction (0=straight ahead, 1=turn right, 2=turn left) taken by the type I Hilbert's Hamiltonian walk A163357 at the step n. +0
7
1, 1, 2, 0, 2, 2, 1, 1, 2, 2, 0, 2, 1, 1, 0, 1, 2, 2, 1, 0, 1, 1, 2, 2, 1, 1, 0, 1, 2, 2, 0, 0, 2, 2, 1, 0, 1, 1, 2, 2, 1, 1, 0, 1, 2, 2, 1, 0, 1, 1, 2, 0, 2, 2, 1, 1, 2, 2, 0, 2, 1, 1, 2, 0, 2, 2, 1, 0, 1, 1, 2, 2, 1, 1, 0, 1, 2, 2, 0, 2, 1, 1, 2, 0, 2, 2, 1, 1, 2, 2, 0, 2, 1, 1, 0, 0, 1, 1, 2, 0, 2, 2 (list; graph; listen)
OFFSET

1,3

COMMENT

a(16*n) = a(256*n) for all n.

LINKS

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

FORMULA

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

PROGRAM

(Scheme:) (define (A163542 n) (A163241 (modulo (- (A163540 (1+ n)) (A163540 n)) 4)))

CROSSREFS

a(n) = A014681(A163543(n)). See also A163540.

Sequence in context: A143751 A158950 A059581 this_sequence A061895 A129678 A023604

Adjacent sequences: A163539 A163540 A163541 this_sequence A163543 A163544 A163545

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research