Prolog number chain (pair) (optional redo)
Here is the link to the Prolog number chain assignment.