The epitaph of Diophantus
A riddle said to be carved on the tomb of the mathematician Diophantus reads, in modern words:
"God granted him boyhood for a sixth of his life; after a twelfth more his cheeks grew a beard; after a seventh more he married; five years later a son was born; the son lived to half his father's final age; and the father died four years after his son."
How old was Diophantus when he died?
Show a hint
Let his age at death be x and add up all the pieces of his life.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
A hundred loaves for five menTwice as old as you were when I was your ageA father three times as old as his sonAges that are each other's digits reversedThe mother, the child, and the missing father
All questions →