Program to check if N is a Enneadecagonal Number | Function to check if number N is a enneadecagonal number ; Condition to check if N is a enneadecagonal number ; Given number ; Function call
function isenneadecagonal ( N ) { let n = parseFloat ( 15 + Math . sqrt ( 136 * N + 225 ) ) / 34 ; return ( n - parseInt ( n ) ) == 0 } let N = 19 ; if ( isenneadecagonal ( N ) ) { document . write ( " " ) ; } else { document . write ( " " ) ; }