I found 3 solutions so far. Still have one more section to do later.
So we will use the following tool: the primes under 100.
2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97
We have 3 possibilities for their ages based on the fact that lisa is a teenager. These are:
- 13, 17, 19
- 17, 19, 23
- 19, 23, 31
Note that they cannot be born in February since Lisa would need to have a larger day than the others and she would then have prime+2+prime as her number of coins, which can never be prime.
Lets start with the last possibility first.
19, 23, 31
The sum of their ages is 73. At most, this leaves 24 coins to doll out. We know Lisa is supposed to get the most, so she needs to get 13 more coins than Amy. If they were born in march, then 9 coins are now gone and we have 15 left. If we give 3 to Amy and 7 to Jack, that doesn't leave enough for Lisa.
Hence, this is not an option.
17, 19, 23
This one is a little more doable since the total is 59 which leaves 38 coins at most. But Lisa still needs 5 more coins than Amy.
Assume month is May (5)
The totals so far are:
- Amy - 23+5=28
- Jack - 19+5=24
- Lisa - 17+5=22
- Total: 74 leaving at most 23
If Amy's day is 13 her total would be 41. But Lisa would need at least a day of 19 which uses up more coins than we have. Thus Amy's day needs to be less than 13. But of those values, all are composite except the 3rd. (28+11=39, 28+7=35, 28+5=33). Thus, Amy is 23 born on May 3rd.
We now have 20 more coins. Jack cannot be 11 or more since Amy would need at least 3 more to be the highest and their aren't enough coins. If Jack was born on the 7th, then Amy could be born on the 13th or 11th, but both totals make Amy's coins composite (35 and 33 respectively). If Jack was born on the 5th, then Amy again needs to be born on the 11th or 13th to be high enough; neither of which work.
Thus, there is no solution.
Assume month is march(3)
The totals so far are:
- Amy - 23+3=26
- Jack - 19+3=22
- Lisa - 17+3=20
- Total: 68 leaving at most 29
If Amy's day is 11th or later, then Lisa's needs to be at least 17, which leaves only 1 coin for Jack, so this is impossible. Thus, Amy must be born on the earlier than the 11th and the 5th is the only option that makes her total prime. Thus Amy is born on the 5th of March and we now have at most 24 coins left.
We know Lisa's day needs to be at least 13 to be more than Amy, but she also needs to be at least 3 more than Jack's day. Thus, Jack's day cannot be 11 or more because Lisa would need at least 17 which we don't have the coins for.
The only possibility for Jack is the 7th since the others are composite for him. Thus Jack was born on the 7th of March, and this leaves 17 coins for Amy.
If she is born on the 17th, we get our first solution!!
Solution 1:
Amy: 23, born on the 5th of March gets 31 coins
Jack: 19, born on the 7th of March gets 29 coins
Lisa: 17, born on the 17th of March gets 37 coins
Total: 97 coins
We know Amy needs at least 13 coins, but that gives a total of 33, which is composite.
There are no other options, so there are no other solutions.
13, 17, 19
The total now is 49 which gives lots of options.
Lets say they were born in November. This takes up lots of coins and leaves us with only 16. Lisa needs to be born at least 7 days later than Lisa, and the lowest possibilities are Amy and Jack born on the 3rd, and Lisa on the 11th, which is still too high.
Thus, they must be born before November.
Assume Month is July (7)
The totals are:
- Amy - 19+7=26
- Jack - 17+7=24
- Lisa - 13+7=20
- Total: 70 leaving at most 27
Lisa needs to be 7 days later than Amy and 5 days later than Jack.
Options for Amy are 3, 5, 11. If the 11th, then Lisa would need to be 19 which leaves no coins for Jack.
Jack's options are 5, 7, 13. If the 13th, then Lisa would need 19, which leaves none for Amy.
Lisa's options are 11, 17, 23. If the 23rd, then this leaves too few for Jack and Amy.
Coincidentally, there are 2 solutions which use all 97 coins again.
Solution 2:
Amy: 19, born on the 3rd of July gets 29 coins
Jack: 17, born on the 7th of July gets 31 coins
Lisa: 13, born on the 17th of July gets 37 coins
Total: 97 coins
And
Solution 3:
Amy: 19, born on the 5th of July gets 31 coins
Jack: 17, born on the 5th of July gets 29 coins
Lisa: 13, born on the 17th of July gets 37 coins
Total: 97 coins
There is another solution with 89 coins where everyone uses the minimum, but Amy and Jack both get 29, which is not allowed.
Assume the Month was May(5)
TBD... this is taking too long...