In mathematics, the Lehmer mean of a tuple
of positive real numbers, named after Derrick Henry Lehmer, is defined as:

The weighted Lehmer mean with respect to a tuple
of positive weights is defined as:

The Lehmer mean is an alternative to power means
for interpolating between minimum and maximum via arithmetic mean and harmonic mean.