Janine primes: a card solitaire

 

I had recently the idea of a card solitaire involving the first prime numbers. Call it “Janine primes”.
We play with a single traditional 52-card deck, all faces down.
Four piles will be used, they are empty at the beginning of the game.
We now place the first four cards of the deck on the table, face up and side by side – like in the hereunder example: 

(Sorry for the Yves Saint Laurent logo: the deck used here is one of the dozens belonging to my mother – a former great bridge player. She died last year, and I inherited her card decks. They still smell of the talc she used to make the cards slide smoothly. Farewell Janine!-)

The goal:
To get rid of all the cards, step by step, by placing them on the existing piles.

The game:
If two cards sum up to a prime number, you can cover them with the next two cards of the deck – face up.

We see hereunder that the player covered the above Queen and Ace of clubs (as 12+1=13) with two 9s:

We go on like that – and decide here to cover the leftmost pair 10 and 9 as its sum is 19 (we could have chosen the combination 10+7=17 instead); we get this: 

We will illustrate now the second possibility to advance in the game: the player can cover a single card if he wants – provided this card shows a prime number (2, 3, 5, 7, Jack, King). The above 7 of diamonds was chosen here – and covered hereunder with the 3 of clubs:

This 3 (a genuine "prime card") was itself covered at the next step by the 4 of clubs:

 The above central pair 1 and 4 (total 5) was covered hereunder with the pair 2 and Queen:

The above combination Jack and Queen (11+12=23) was covered hereunder by the 5 of spades and another Queen:

We will illustrate here a (bad) strategic decision: the solitaire player decided to cover the leftmost pair 5 and 2 (total 7) and got that – which unfortunately ends the game:

Indeed, no prime card is visible above, and no combination of two cards sums up to a prime.

Here is what the player should have done – we rewind to the position he messed up: 

Instead of covering the 5 of spades and the 2 of diamonds, he should have covered the 2 of diamonds and the 9 (sum 11). Why? Because whatever the values of the future appearing cards, this would leave a spare prime combination for the next step: the above 5 and Queen of spades sum up to 17.

We see hereunder that the same two appearing cards (the 6 of clubs and the Queen of diamonds) even offer two possibilities to continue the game (the possible prime pairs being now 5+6 and 5+12).

The “Math-Fun” question now:

What are the odds to win the “Janine primes” solitaire? (a game is won when all cards of the deck are placed somewhere in the four piles; in case you end with a single card to place – the 52nd of the initial deck –, and there is no visible single “prime card” to cover, you lose).

Here is a small sketch to help computing those odds:


The upper row reads: Ace + 2 is a prime number / Ace + 4 also / Ace + 6 also, etc.
The next row reads: 4 + Ace is a prime number / 4 + 3 also / 4 + 7 also; etc.
The last sum of the last row is Queen + Jack = 12 + 11 = 23 (a prime number).

The hereunder variants might be fun to explore:

1) forget the “single” prime card rule: at each step you must cover exactly two cards (summing up to a prime). This drastically lowers the odds to win (I guess);

2) start with two piles instead of four; if you are blocked, start the 3rd pile. And if you are stuck again, start the 4th pile, the 5th, the 6th, etc. You are sure to empty the 52-card original deck but the less piles you use, the better.

3) combine the above variants 1 and 2;

4) play with exactly four piles and allow the prime sums of three cards (in addition of two or one single prime card).

Sorry if this is old hat.
Best,
É.




Commentaires

  1. Isn't the English name of the "Valet" card rather "Jack" (whence the "J"), a.k.a. Knave (German: "Knabe") or Bower (wrong spelling of the German name "Bauer" (peasant), most frequently used name for the French "Valet")...?

    RépondreSupprimer
  2. Also, "what are the odds to win the game" is somewhat unprecise, it (usually) depends on the chosen moves. [But of course some configurations are "lost" right at the beginning, and some after a given number of moves, whatever choice is made, and some might be a "forced win" (is this possible?)] Should we consider any possible move with equal probability? or avoid, if possible, at least those moves which don't guarantee that a prime card or pair of cards remain? Or use some other strategies?

    RépondreSupprimer
  3. If the first 4 cards of the deck (those which are turned face up) are all among X = {4, 6, 8, 10, Q} then obviously the game is lost right at the beginning. But the same is true if there is one 2 (the only possible move is then to cover this card) and the next card in the deck is again in X (or again a '2' and the next card is again in X, etc). Or if there are two 2's at the beginning and the next two cards in the deck are in X. etc... In all these cases, there is no possible choice to make. But there are even more possibilities when the player can make choices... How many (inequivalent shuffles of) decks of cards are there, and is it possible to consider all of them, and all possible choices?

    RépondreSupprimer
    Réponses
    1. Merci Maximilian, bien vu ! Et je vais changer le Valet !

      Supprimer

Enregistrer un commentaire

Posts les plus consultés de ce blog

Beautés ?

Le tripalin se présente

Underline, reproduce