MathDB
replacing number a by (1/2a) or (1-a)

Source: XV May Olympiad (Olimpiada de Mayo) 2009 L2 P1

September 19, 2022
combinatorics

Problem Statement

Initially, the number 11 is written on the blackboard. At each step, the number on the blackboard is erased and another is written, which is obtained by applying any of the following operations:
Operation A: Multiply the number on the board with 12\frac12. Operation B: Subtract the number on the board from 11.
For example, if the number 38\frac38 is on the board, it can be replaced by 1238=316\frac12 \frac38=\frac{3}{16} or by 138=581-\frac38=\frac58 .
Give a sequence of steps after which the number on the board is 2009220009\frac{2009}{2^{20009}} .