Re: MathsBombe - observations but not the answer

Liste des GroupesRevenir à r puzzles 
Sujet : Re: MathsBombe - observations but not the answer
De : richard (at) *nospam* cogsci.ed.ac.uk (Richard Tobin)
Groupes : rec.puzzles
Date : 20. Feb 2025, 16:04:52
Autres entêtes
Organisation : Language Technology Group, University of Edinburgh
Message-ID : <vp7gak$10b2$1@macpro.inf.ed.ac.uk>
References : 1 2 3 4
User-Agent : trn 4.0-test76 (Apr 2, 2001)
In article <vp7dvm$2s8nd$1@dont-email.me>,
David Entwistle  <qnivq.ragjvfgyr@ogvagrearg.pbz> wrote:

221 matched by 221.00, 0 * x^4 + 0 * x^3 + 14 * x^2 + 14 * x^1 + 11 * x^0
222 matched by 222.00, 0 * x^4 + 0 * x^3 + 14 * x^2 + 14 * x^1 + 12 * x^0
223 matched by 223.00, 0 * x^4 + 0 * x^3 + 14 * x^2 + 14 * x^1 + 13 * x^0
224 matched by 224.00, 0 * x^4 + 0 * x^3 + 14 * x^2 + 14 * x^1 + 14 * x^0

So you have correctly chosen x such that x^2 + x = 15.  Up to here we
are working in base 15 with the x^0 coins (obviously) acting as the
units column, and pairs of x^1 and x^2 coins acting as the 15s column.

To continue in base 15 beyond 224 we need a column for 15^2.  Since
x^2 + x is 15, (x^2 + x)^2 is 15^2, and is equal to x^4 + 2x^3 + x^2.
So you can get 225 by using a set of one x^4, two x^3, and one x^2
coin.

225 matched by 225.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 0 * x^0
226 matched by 226.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 1 * x^0
227 matched by 227.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 2 * x^0
228 matched by 228.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 3 * x^0
229 matched by 229.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 4 * x^0
230 matched by 230.00, 1 * x^4 + 2 * x^3 + 1 * x^2 + 0 * x^1 + 5 * x^0

As you have presumably noticed, this works for a while, but will run
into a problem when you get to 435 = 15^2 + 14*15 which would be

   1*x^4 + 2*x^3 + 15*x^2 + 14*x^1

because now you have more than 14 of one coin.

-- Richard

Date Sujet#  Auteur
19 Jan 25 * MathsBombe23David Entwistle
9 Feb 25 `* Re: MathsBombe22David Entwistle
9 Feb 25  +* Re: MathsBombe6Richard Heathfield
9 Feb 25  i+* Re: MathsBombe4Mike Terry
9 Feb 25  ii`* Re: MathsBombe3Richard Heathfield
9 Feb 25  ii `* Re: MathsBombe2Mike Terry
10 Feb 25  ii  `- Re: MathsBombe1Richard Heathfield
11 Feb 25  i`- Re: MathsBombe1Richard Tobin
9 Feb 25  +- Re: MathsBombe1David Entwistle
10 Feb 25  `* Re: MathsBombe14Richard Tobin
10 Feb 25   +- Re: MathsBombe1Richard Heathfield
10 Feb 25   `* Re: MathsBombe - observations but not the answer12Richard Tobin
11 Feb 25    +* Re: MathsBombe - observations but not the answer4David Entwistle
11 Feb 25    i`* Re: MathsBombe - observations but not the answer3Richard Tobin
11 Feb 25    i `* Re: MathsBombe - observations but not the answer2David Entwistle
19 Feb 25    i  `- Re: MathsBombe - observations but not the answer1David Entwistle
20 Feb 25    `* Re: MathsBombe - observations but not the answer7David Entwistle
20 Feb 25     `* Re: MathsBombe - observations but not the answer6David Entwistle
20 Feb 25      +* Re: MathsBombe - observations but not the answer2Richard Tobin
20 Feb 25      i`- Re: MathsBombe - observations but not the answer1David Entwistle
20 Feb 25      `* Re: MathsBombe - observations but not the answer3Mike Terry
20 Feb 25       `* Re: MathsBombe - observations but not the answer2Richard Tobin
21 Feb 25        `- Re: MathsBombe - observations but not the answer1Mike Terry

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal