where the product is taken over all primes dividing (By convention, , which is the empty product, has value 1.) The function was introduced by Richard Dedekind in connection with modular functions.
The value of for the first few positive integers is:
1, 3, 4, 6, 6, 12, 8, 12, 12, 18, 12, 24, ... (sequence A001615 in the OEIS).
The function can also be defined by setting for powers of any prime (compare: the Euler totient function can be defined by setting for powers of any prime ), and then extending the definition to all integers by multiplicativity. This also leads to a proof of the generating function in terms of the Riemann zeta function, which is
This is also a consequence of the fact that we can write the function as a Dirichlet convolution of .
There is an additive definition of the psi function as well. Quoting from Dickson,
R. Dedekind proved that, if is decomposed in every way into a product and if is the g.c.d. of then
where ranges over all divisors of and over the prime divisors of and is the totient function.
Higher orders
The generalization to higher orders via ratios of Jordan's totient is
↑Leonard Eugene Dickson "History of the Theory Of Numbers", Vol. 1, p. 123, Chelsea Publishing 1952.
↑Journal für die reine und angewandte Mathematik, vol. 83, 1877, p. 288. Cf. H. Weber, Elliptische Functionen, 1901, 244-5; ed. 2, 1008 (Algebra III), 234-5