determining integer contraharmonic means
For determining effectively values c of integer contraharmonic means of two positive integers u and v (1<u<v), it’s convenient to start from the (7) in the parent entry (http://planetmath.org/IntegerContraharmonicMeans):
v=2u2w-u | (1) |
where w is any positive factor of 2u2 less than u. Substituting the above expression of v to the defining expression
c=u2+v2u+v |
of c, this gets the form
c=2u2w-2u+w. | (2) |
Hence one can use the formulae (1) and (2), giving in them for each desired u the values w of the positive factors of 2u2, beginning from w:= and stopping before .
The for the integer harmonic mean, corresponding (2), is simply
(3) |
Example. In the following table one sees for all possible values of the parametre and the corresponding values of and ; the pertinent values of are given, too.
As one sees, the contraharmonic and the harmonic mean may differ considerably, but also the difference 1 is possible.
References
-
1
J. Pahikkala: “On contraharmonic mean and Pythagorean triples
”. – Elemente der Mathematik 65:2 (2010).
Title | determining integer contraharmonic means |
---|---|
Canonical name | DeterminingIntegerContraharmonicMeans |
Date of creation | 2013-11-19 18:13:25 |
Last modified on | 2013-11-19 18:13:25 |
Owner | pahio (2872) |
Last modified by | pahio (2872) |
Numerical id | 15 |
Author | pahio (2872) |
Entry type | Algorithm |
Classification | msc 11Z05 |
Classification | msc 11A05 |
Classification | msc 11D09 |
Classification | msc 11D45 |
Related topic | LinearFormulasForPythagoreanTriples |