Y by
A sequence
is called good, if
are non-negative integers, and
is either
or
for all
.
Fix a positive integer
, and Ivan has a whiteboard with some ones written on it. In each step, he may erase any good sequence
that appears on the whiteboard, and then he writes the number
such that
Suppose Ivan starts with the least possible number of ones to obtain
after some steps, determine the minimum number of steps he will need in order to do so.
Proposed by Ivan Chan Kai Chin






Fix a positive integer





Proposed by Ivan Chan Kai Chin
This post has been edited 2 times. Last edited by navi_09220114, Saturday at 4:14 PM