home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!not-for-mail
- From: morje@miles.mps.ohio-state.edu (Prabhav G Morje)
- Newsgroups: rec.puzzles
- Subject: Algorithm to win a game
- Date: 16 Nov 1992 17:02:54 -0500
- Organization: Department of Mathematics, The Ohio State University
- Lines: 22
- Distribution: usa
- Message-ID: <1e95qeINN2vc@miles.mps.ohio-state.edu>
- NNTP-Posting-Host: miles.mps.ohio-state.edu
- Keywords: trees, partitions, sum
-
-
- The following game is meant for one person. More interesting versions
- may be around.
-
- (1) To start, you are given r weights (positive intergers): n_1,...,n_r.
- (2) A move consists of replacing two of the weights by their sum.
- So each move reduces the number of weights by one.
- (3) A move is worth one point if two numbers being added are equal,
- otherwise a move is worth zero points.
- (4) You keep making moves until there is just one weight left. There are
- r-1 moves in a game.
-
-
- Question:
- (1) Given r weights: n_1,...,n_r,
- what is an algorithm to get maximum number of points in the game?
- (2) What is an expression for this maximum number of points as a
- function of n_1,...,n_r?
-
-
-
-
-