LOGIC4FUN

Jellybeansbeginner series

This is another puzzle involving integers. This time the integers are the ages of four children and the number of jellybeans each child has. To get from the names of the children to the numbers, use functions “age” and “beans” in the same manner as the “position” function in the Four Trees puzzle. Again it will be best to declare them as “all_different”, and again see the Four Trees puzzle for the method of restricting their values to a given range.

There are four children, Alice, Boris, Claire and David. Their ages (not in order) are 6, 7, 8 and 9. Each child has either 1, 2, 3 or 4 jellybeans (a different number each).

  1. Alice’s age plus her beans is the same as Boris’s age plus his beans.
  2. Claire’s age is two more than the number of Alice’s beans.
  3. Alice’s age is equal to the number of beans she and Claire have altogether.

How old is David, and how many beans has he?

Solver

Please log in or create an account to use the solver.
Save Title:
Saved Solutions
Name Time saved
Class Submissions
Name Time submitted
  
Powered by:                 

  Auto Parser Results

No errors found.