In this note, we study the arithmetic function
defined by
(
,
odd). We show
several important properties about this function, and we use
them to obtain some curious results involving the
-adic
valuation. In the last section of the paper, we generalize those results to any other
-adic valuation.