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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055661 Tower of Hanoi positions (A055662) converted from base 3 to base 10. 3
0, 1, 7, 8, 17, 15, 12, 13, 67, 68, 65, 63, 72, 73, 79, 80, 161, 159, 156, 157, 139, 140, 137, 135, 108, 109, 115, 116, 125, 123, 120, 121, 607, 608, 605, 603, 612, 613, 619, 620, 593, 591, 588, 589, 571, 572, 569, 567, 648, 649, 655, 656, 665, 663, 660, 661 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

Z. Sunic, Tree morphisms, transducers and integer sequences

FORMULA

a(n) =sum (3^j*((-1)^j*(floor[(n/2^j+1)/2] mod 3)) with j=0 to floor[log2(n)]

CROSSREFS

Cf. A055662.

Sequence in context: A127933 A006878 A022312 * A054312 A106678 A155946

Adjacent sequences:  A055658 A055659 A055660 * A055662 A055663 A055664

KEYWORD

base,nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Jun 06 2000

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 16 19:23 EST 2012. Contains 205945 sequences.