Difference between revisions of "1990 OIM Problems/Problem 1"
Line 14: | Line 14: | ||
== Solution == | == Solution == | ||
− | {{ | + | |
+ | '''Part a.''' | ||
+ | |||
+ | <math>f(2^j-1)=0</math>, <math>f(2^j)=-1</math>, <math>f(2^j+1)=-2</math>, and so on.. | ||
+ | |||
+ | So we pick a range where <math>f(n)\ne 0</math> which is <math>2^j-1<2^j+b<2^{j+1}-1</math> where <math>b</math> is a non-negative integer. | ||
+ | |||
+ | Therefore, <math>2^j\le2^j+b\le2^{j+1}-2</math> which provides the range for <math>b</math> as: <math>0\le b \le 2^{j+1}-2-2^j</math> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ~Tomas Diaz. orders@tomasdiaz.com | ||
+ | |||
+ | {{Alternate solutions}} | ||
== See also == | == See also == | ||
https://www.oma.org.ar/enunciados/ibe5.htm | https://www.oma.org.ar/enunciados/ibe5.htm |
Revision as of 00:14, 23 December 2023
Problem
Let be a function defined in the set of integers greater or equal to zero such that:
(i) If , for all then
(ii) If , for all then
a. Prove that for all integer , greater or equal to zero, there exist an integer grater than zero such that
b. Calculate .
~translated into English by Tomas Diaz. ~orders@tomasdiaz.com
Solution
Part a.
, , , and so on..
So we pick a range where which is where is a non-negative integer.
Therefore, which provides the range for as:
~Tomas Diaz. orders@tomasdiaz.com
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.