Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109630
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109630 The most strategic chair to start in when playing the "eenie meenie mini moe" game, when n players are participating. +0
1
1, 1, 3, 3, 1, 3, 4, 4, 3, 1, 9, 5, 13, 7, 15, 7, 15, 5, 13, 1, 9, 17, 2, 10, 18, 26, 7, 15, 23, 1, 9, 17, 25, 33, 6, 14, 22, 30, 38, 6, 14, 22, 30, 38, 1, 9 (list; graph; listen)
OFFSET

0,3

COMMENT

In this series the multiples of 8 (8, 16, 24....) never appear because they are always wiped out in the first round.

A version of the Josephus sieve - see for example A000960. - njas, May 26 2007

In this game, all the children start standing in front of a chair, and the teacher will chant "eenie-meenie-mini-moe..." and eliminate every eighth player, who then has to sit. The game continues until only one child remains standing. He or she is declared the winner.

LINKS

Lyrics.

FORMULA

The value P(n+1) = P(n) + 8 if P(n)+ 8 < n+1, otherwise: P(n+1) = P(n) + 8 - n

EXAMPLE

For n = 4 the winner is the third kid because:

1, 2, 3, 4, 1, 2, 3, X (The fourth kid is eliminated)

1, 2, 3, 1, 2, 3, 1, X (The second kid is eliminated)

3, 1, 3, 1, 3, 1, 3, X (The first kid is eliminated, therefore #3 wins)"

CROSSREFS

Sequence in context: A125562 A092040 A110766 this_sequence A080094 A002332 A002102

Adjacent sequences: A109627 A109628 A109629 this_sequence A109631 A109632 A109633

KEYWORD

easy,nonn,uned,easy,more

AUTHOR

Sergio Pimentel (ferdiego(AT)cox-internet.com), Aug 02 2005

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research