MathDB
Nice function

Source: Romania TST,Day 2,problem 4

May 18, 2014
functioninductionnumber theoryrelatively primeprime numbersnumber theory unsolved

Problem Statement

Let ff be the function of the set of positive integers into itself, defi ned by f(1)=1f(1) = 1, f(2n)=f(n)f(2n) = f(n) and f(2n+1)=f(n)+f(n+1)f(2n + 1) = f(n) + f(n + 1). Show that, for any positive integer nn, the number of positive odd integers m such that f(m)=nf(m) = n is equal to the number of positive integers[color=#0000FF] less or equal to nn and coprime to nn.
[color=#FF0000][mod: the initial statement said less than nn, which is wrong.]