A digital clock displays hours and minutes in 24-hour format (00:00 to 23:59). At how many unique times during a single day is the sum of the digits of the hour equal to the sum of the digits of the minute?
104
The hour digits sum can range from 0 to 1+9 = 10. For each possible hour digit sum, we count how many minute combinations (from 00 to 59) share that exact same digit sum, then sum those counts across all valid hours of the day.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Hard. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
Five knights compete in a sword tournament. Sir Vance scored higher than Sir Uther. Sir Terry scored lower than Sir Quinn but higher than Sir Vance. Sir Ron scored higher than Sir Quinn. Who won first place in the tournament?
Anna is currently twice as old as Ben was when Anna was as old as Ben is now. When Ben is Anna's age now, the sum of their ages will be 63. How old is Anna today?
You have 7 identical-looking coins, but 1 is a heavier counterfeit. What is the minimum number of balance scale weighings required to guarantee identifying the counterfeit coin?
A rare gemstone is stolen from a museum display case. There are three suspects: Leo, Max, and Sam. Security footage proves that the thief is right-handed. Leo is left-handed. Max claims he was asleep at the time of the theft. Sam is an identical twin to Leo, but Sam is right-handed. Who is the thief?
In a secure facility, a guard checks security logs every time someone enters or leaves. Alice enters at 8:00 AM, Bob leaves at 9:00 AM, Charlie enters at 10:00 AM, and Diana leaves at 11:00 AM. No one else enters or leaves. If the building started completely empty at midnight, how many people are inside the facility at 12:00 PM?
A row goes: student, student, pencil, student, student, pencil, student, student. What comes next?

