determining integer contraharmonic means
For determining effectively values of integer contraharmonic means of two positive integers and (), it’s convenient to start from the (7) in the parent entry (http://planetmath.org/IntegerContraharmonicMeans):
| (1) |
where is any positive factor of less than . Substituting the above expression of to the defining expression
of , this gets the form
| (2) |
Hence one can use the formulae (1) and (2), giving in them for each desired the values of the positive factors of , beginning from 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 |