Problem #PRU-100235

Problems Methods Invariants and semi-invariants

Problem

Numbers 1,2,,20 are written on a whiteboard. In one go Louise is allowed to wipe out any two numbers a and b, and write their sum a+b instead. Louise enjoys erasing the numbers, and continues the procedure until only one number is left on the whiteboard. What number is it?