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 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 .
Operation B: Subtract the number on the board from .For example, if the number is on the board, it can be replaced by or by .Give a sequence of steps after which the number on the board is .