Harmonic numbers on the HP 50g - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Harmonic numbers on the HP 50g (/thread-1518.html) Harmonic numbers on the HP 50g - Peter Murphy - 06-02-2014 03:11 PM I recently discovered that the HP 50g function Psi (in MTH NXT SPECIAL) delivers the nth harmonic number: Hn = Psi(n + 1) – Psi(1) [and that, by the way, –Psi(1) = 0.577215664902, the Euler constant]. This observation, together with the numerical SOLVE command, allows quick disposal of (say) the problem of finding the smallest integer k for which Hk > 7.6, and it might more generally be useful in mathematics teaching. RE: Harmonic numbers on the HP 50g - Paul Dale - 06-02-2014 10:07 PM I implemented the digamma function for the 34S but it didn't make it in But where to stop including useful functions.... - Pauli RE: Harmonic numbers on the HP 50g - Ángel Martin - 06-03-2014 05:41 AM (06-02-2014 10:07 PM)Paul Dale Wrote:  I implemented the digamma function for the 34S but it didn't make it in But where to stop including useful functions.... Digamma (Psi) is also useful to obtain the inverse Gamma using Newton's method, there was a thread in the old forum about that but can't find it now. edit: here's the link The SandMath has both the harmonic number and Psi functions - the accuracy limited to 10 digits of course. Cheers, 'AM