MathDB
Sum of numbers less than x and coprime to x

Source: 2007 Bulgarian Autumn Math Competition, Problem 10.3

March 17, 2022
number theorycoprimesum function

Problem Statement

For a natural number m>1m>1 we'll denote with f(m)f(m) the sum of all natural numbers less than mm, which are also coprime to mm. Find all natural numbers nn, such that there exist natural numbers kk and \ell which satisfy f(nk)=nf(n^{k})=n^{\ell}.