Find the Nth Hogben Numbers | Function returns N - th Hogben Number ; Driver Code
function HogbenNumber ( a ) { let p = ( Math . pow ( a , 2 ) - a + 1 ) ; return p ; } let N = 10 ; document . write ( HogbenNumber ( N ) ) ;