Rayyan Ansari – Goldington Academy
Ivan – St Bede’s Inter-church School
This is a classic example of the invariance principle. The invariance principle in mathematics states that certain properties or quantities remain unchanged under specific transformations or operations. It’s like having something that stays the same no matter what you do to it.
Notice that at each iteration, is replaced with . However, as we perform this until there is only a single item left, there are iterations (with being the original number of items in the list). At the end, we are essentially adding every element in the list and subtracting from the total sum since at every iteration we subtract . This allows us to simply add all of the elements in the list and subtract .
First, work out the sum between and (6 elements) which is . Then for to (504 elements), which is given by :
The final number is always .