Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163540
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163540 The absolute direction (0=east, 1=south, 2=west, 3=north) taken by the type I Hilbert's Hamiltonian walk A163357 at the step n. +0
7
0, 1, 2, 1, 1, 0, 3, 0, 1, 0, 3, 3, 2, 3, 0, 0, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 1, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 2, 2, 3, 0, 3, 3, 2, 1, 2, 3, 2, 1, 1, 0, 1, 2, 1, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 1, 0, 1, 2, 1, 1, 0, 3, 0, 1, 0, 3, 3, 2, 3, 0, 0, 0, 1, 2, 1, 1, 0 (list; graph; listen)
OFFSET

1,3

COMMENT

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

LINKS

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

FORMULA

a(n) = A010873(A163538(n)+A163539(n)+abs(A163539(n))+3).

PROGRAM

(Scheme:) (define (A163540 n) (modulo (+ 3 (A163538 n) (A163539 n) (abs (A163539 n))) 4))

CROSSREFS

a(n) = A163540(A008598(n)) = A004442(A163541(n)). See also A163542.

Sequence in context: A110962 A065715 A051628 this_sequence A127967 A147602 A114206

Adjacent sequences: A163537 A163538 A163539 this_sequence A163541 A163542 A163543

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research