The harmonic mean of sum of first n natural numbers and sum of cubes of first n natural numbers is
n2(n+1)2 / (n2 + n + 2)
Sum of first n natural numbers = n(n+1)2
Sum of cubes of first n natural numbers = n2(n+1)24
Harmonic mean = (2∗[n(n+1)2]∗[n2(n+1)24])([n(n+1)2]+[n2(n+1)24])
=n2(n+1)2(n2+n+2)