Hearts: Answer to question 22

Q: Provide a complete history of all scores for all players in each hand, if
(a) Alexandra was always ahead of (had a lower progressive game score than) Katherine, who in turn was always ahead of Michelle, who in turn was always ahead of Zoë.
(b) Progressive scores for all players throughout the game were either primes or squares
(c) All players scored more than one in each hand.
(d) The game lasted as many hands as possible under the above conditions.
(e) There were 5 single hand scores of 14 and just one single hand score of 9, not necessarily the same player each time.

A: The following game satisfies all the above criteria.

Notation: #hand (points) [total scores]
Players: Alexandra, Katherine, Michelle, Zoë
#1  ( 2,  3,  4, 17) [ 2,   3,   4,  17]
#2  ( 3,  4, 13,  6) [ 5,   7,  17,  23]
#3  ( 2,  9,  2, 13) [ 7,  16,  19,  36]
#4  ( 2,  3,  4, 17) [ 9,  19,  23,  53]
#5  ( 2,  4,  6, 14) [11,  23,  29,  67]
#6  ( 2,  2, 18,  4) [13,  25,  47,  71]
#7  ( 3,  4, 17,  2) [16,  29,  64,  73]
#8  ( 3, 14,  3,  6) [19,  43,  67,  79]
#9  ( 4, 16,  4,  2) [23,  59,  71,  81]
#10 (14,  2,  8,  2) [37,  61,  79,  83]
#11 ( 4,  6,  2, 14) [41,  67,  81,  97]
#12 ( 6, 14,  2,  4) [47,  81,  83, 101]