Problem #PRU-100252

Problems Methods Mathematical induction

Problem

Numbers \(1,2,\dots,n\) 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? What if instead of \(a+b\) she writes \(a+b-1\)?