Let N be the set of positive integers. Determine all positive integers k for which there exist functions f:N→N and g:N→N such that g assumes infinitely many values and such that
fg(n)(n)=f(n)+k
holds for every positive integer n.
(Remark. Here, fi denotes the function f applied i times, i.e., fi(j)=i timesf(f(…f(f(j))…)).)
We call a positive integer Ncontagious if there exist 1000 consecutive non-negative integers such that the sum of all their digits is N. Find all contagious positive integers.
Let ABC be an acute scalene triangle with circumcircle ω and incenter I. Suppose the orthocenter H of BIC lies inside ω. Let M be the midpoint of the longer arc BC of ω. Let N be the midpoint of the shorter arc AM of ω.
Prove that there exists a circle tangent to ω at N and tangent to the circumcircles of BHI and CHI.