Icosihenagonal Number | Function to find Icosihenagonal number ; Formula to calculate nth Icosihenagonal number ; Driver Code
function Icosihenagonal_num ( n ) { return ( 19 * n * n - 17 * n ) / 2 ; } let n = 3 ; document . write ( Icosihenagonal_num ( n ) + " " ) ; n = 10 ; document . write ( Icosihenagonal_num ( n ) ) ;