Problem

Source: Baltic Way 2004, problem 5

Tags: function, algebra solved, algebra



Determine the range of the following function defined for integer $k$, \[f(k)=(k)_3+(2k)_5+(3k)_7-6k\] where $(k)_{2n+1}$ denotes the multiple of $2n+1$ closest to $k$