Problem #PRU-100700

Problems Number Theory Divisibility Division with remainders. Arithmetic of remainders Division with remainder

Problem

Tim had more hazelnuts than Tom. If Tim gave Tom as many hazelnuts as Tom already had, Tim and Tom would have the same number of hazelnuts. Instead, Tim gave Tom only a few hazelnuts (no more than five) and divided his remaining hazelnuts equally between \(3\) squirrels. How many hazelnuts did Tim give to Tom?