A professor thinks of two consecutive numbers between 1 and 10.

‘A’ knows the 1st number and ‘B’ knows the second number.

They both have a conversation:
A: I do not know your number.
B: Neither do I know your number.
A: Now I know.

There are four possible solutions to this. What are the numbers?

Diophantus was a Greek mathematician. Little is known about the life of Diophantus except for an algebraic riddle from around the early sixth century. The riddle states:

Here lies Diophantus,’ the wonder behold.
Through art algebraic, the stone tells how old:
‘God gave him his boyhood one-sixth of his life,
One twelfth more as youth while whiskers grew rife;
And then yet one-seventh ere marriage begun;
In five years there came a bouncing new son.
Alas, the dear child of master and sage
After attaining half the measure of his father’s life chill fate took him.
After consoling his fate by the science of numbers for four years, he ended his life.’

How many years did Diophantus live based on the riddle?

A detective who was mere days from cracking an international smuggling ring has suddenly gone missing. While inspecting his last-known location, you find a note: 710 57735 34 5508 51 7718

Currently there are 3 suspects: Bill, John, and Todd. Can you break the detective’s code and find the criminal’s name?

Four prisoners named P1, P2, P3 and P4 are arrested for a crime, but the jail is full and the jailer has nowhere to put them. He eventually comes up with the solution of giving them a puzzle and if they answer correctly they can go free but if they fail they are to be executed.

The jailer makes prisoners P1, P2 and P3 stand in a single file. Prisoner P4 is put behind a screen. The arrangement looks like this:

P1 P2 P3 || P4

The ‘||’ is the screen.

The jailer tells them that there are two black hats and two white hats; that each prisoner is wearing one of the hats; and that each of the prisoners is only able to see the hats in front of them but not on themselves or behind. Prisoner P1 can see P2 and P3. Prisoner P2 can see P3 only. The fourth man, P4, behind the screen can’t see or be seen by any other prisoner. No communication between the prisoners is allowed.

If any prisoner can figure out and tell the jailer the color of the hat he has on his head all four prisoners go free. If any prisoner gives an incorrect answer, all four prisoners are executed. How the prisoners can escape, regardless of how the jailer distributes the hats?

You can assume that the prisoners can all hear each other if one of them tries to answer the question. Also, every prisoner thinks logically and knows that the other prisoners think logically as well.