Let Q>1 be the set of rational numbers greater than 1. Let f:Q>1→Z be a function that satisfies f(q)={q−3⌈q⌉−3+f(⌈q⌉−q1)if q is an integer,otherwise. Show that for any a,b∈Q>1 with a1+b1=1, there always holds f(a)+f(b)=−2.
This one wants a proof. Work it on paper, read the official solution, then mark
yourself honestly — the ladder only means something if the record is true.
Official solution
Suppose that a=m/n and b=m/(m−n) where gcd(m,n)=1. If n=21m then (m,n)=(2,1) and the statement clearly holds in this case as f(2)=−1. Therefore from now on we assume that n=21m, and without loss of generality assume n<21m. We will induct on m.
Assume that m>2 and the statement holds for all smaller m. Since we assume that m>2n, we have f(a)=⌈nm⌉−3+f(⌈nm⌉−nm1)=1+⌈nm−n⌉−3+f(⌈nm−n⌉−nm−n1)=1+f(nm−n). We also have f(b)=−1+f(2−m−nm1)=−1+f(m−2nm−n). Therefore by the inductive hypothesis, f(a)+f(b)=f(nm−n)+f(m−2nm−n)=−2, as desired.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.