Source: Junior Olympiad of Malaysia Shortlist 2015 N8
July 17, 2015
functionnumber theory
Problem Statement
Set p≥5 be a prime number and n be a natural number. Let f be a function f:Z=0→N0 satisfy the following conditions: i) For all sequences of integers satisfy ai∈{0,1}, and p∣ai−1, ∀1≤i≤p−2,\\ i=1∑p−2f(ai)=f(a1a2⋯ap−2)ii) For all coprime integers a and b, a≡b(modp)⇒f(a)=f(b) iii) There exist k∈Z=0 that satisfy f(k)=nProve that the number of such functions is d(n), where d(n) denotes the number of divisors of n.