Published function transforms a positive integer based on parity of the number of its distinct prime factors.
Jiří Šperka (Tue,) studied this question.