It may be possible to come up with an impossible-to-solve combination, but
it's easy to find a counter-example to the scenario you propose:

   obj=. 7               NB. a prime
   cc=. 2 4 6 8 10   NB. all even cards

   (10%2)+4%8-6
7



On Fri, Jul 5, 2013 at 12:17 PM, <penny1...@comcast.net> wrote:

>
>
> I have not written to this group in 4-5 years. Am still on J402 (I think),
> and have not fired it up in years.
>
> (many reasons, none really good, but, that's life)
>
>
>
> Never-the-less, Krypto captured my attention.
>
>
>
> I ask, is it possible to "deal" a Krypto hand that cannot be solved?
>
>
>
> I think so, and posit, a prime "objective card", and the remaining five,
> even numbers.
>
>
>
> Can someone please critique my query & self-response ?
>
>
>
> Thanks.
>
>
>
> Dick Penny
>
>
>
> ----- Original Message -----
>
>
> From: "Roger Hui" <rogerhui.can...@gmail.com>
> To: "Programming forum" <programm...@jsoftware.com>
> Sent: Thursday, July 4, 2013 1:37:45 PM
> Subject: [Jprogramming] Krypto
>
> Happy Fourth of July to our American colleagues.
>
> A new essay "Krypto" <http://www.jsoftware.com/jwiki/Essays/Krypto> has
> been added.  It's an amusing puzzle which you may want to try your hand at
> before looking at the solution.
>
> Krypto <http://en.wikipedia.org/wiki/Krypto_(game)> is a mathematical card
> game. The Krypto deck has 56 cards: 3 each of numbers 1-6, 4 each of the
> numbers 7-10, 2 each of 11-17, 1 each of 18-25.
>
> Six cards are dealt: an objective card and five other cards. A player must
> use all five of the latter cards' numbers exactly once, using any
> combination of arithmetic operations (+, -, *, and %) to form the objective
> card's number. The first player to come up with a correct formula is the
> winner. The more strict "International Rules" specify the use of positive
> integers only; fractional and negative intermediate results are not
> permitted.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to