MathDB
Constructing all Integers with 3 Functions

Source: 1991 IrMO Paper 1 Problem 3

October 1, 2017
functionalgebra

Problem Statement

Three operations f,gf,g and hh are defined on subsets of the natural numbers N\mathbb{N} as follows: f(n)=10nf(n)=10n, if nn is a positive integer; g(n)=10n+4g(n)=10n+4, if nn is a positive integer; h(n)=n2h(n)=\frac{n}{2}, if nn is an even positive integer. Prove that, starting from 44, every natural number can be constructed by performing a finite number of operations ff, gg and hh in some order.
[[For example: 35=h(f(h(g(h(h(4)))))).]35=h(f(h(g(h(h(4)))))).]