Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145787
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145787 Number of times you have to move n cards from one pile to another doing one up, one down, until you obtain the initial sequence. +0
1
1, 2, 2, 3, 3, 6, 6, 4, 4, 6, 6, 10, 10, 14, 14, 5, 5 (list; graph; listen)
OFFSET

1,2

COMMENT

Let say you have 3 cards (1 - 2 - 3). You move 1, 2 over 1, 3 below 2. Now you have: (2-1-3). Now you repeat the movement: You move 2, 1 over 2, 3 below 2. Now you have: (1-2-3). The same initial scenario. Total 2 moves. With 4 cards you do it in three moves. For 8 cards you need 4 moves. For 16 cards you need 5 moves. I can assume that for 32 cards I will do it in 6 moves. But for 14 or 15 cards you need 14 moves. I don`t know how to predict how many moves for n cards...

CROSSREFS

Sequence in context: A143269 A036817 A116417 this_sequence A096111 A101081 A147795

Adjacent sequences: A145784 A145785 A145786 this_sequence A145788 A145789 A145790

KEYWORD

nonn

AUTHOR

Hernan Bonsembiante (hernanbon(AT)tutopia.com), Oct 19 2008

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research