Print the Hosoya triangle of height n .
function printHosoya ( n ) { for ( let i = 0 ; i < n ; i ++ ) { for ( let j = 0 ; j <= i ; j ++ ) document . write ( Hosoya ( i , j ) + " " ) ; document . write ( " " ) ; } }