A Solution
Abstract an Algorithm
Pseudo-Code
Sample Code in Python
4 Chalices are labelled A,B, C, D as shown.
Only one is a real diamond encrusted chalice from medieval times.
However there is a clue as to which chalice is the real one.
If you count the chalices in the order ABCDCBABCDCBA
....and so on
The real authentic chalice is the 101st chalice.
Which one is the real chalice?