Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The goal is to solve the following problem using Prolog:

Two numbers between 1 and 200 are chosen, P is given their product and S their sum.

  • P says he doesn't know which number they are
  • S responds he knew that
  • P says that, now, he can say which were the original numbers
  • Now, S also knows which were these original numbers

What are those numbers ?

You can’t perform that action at this time.