Program to check if N is a Icositetragonal number | Function to check that the number is a icositetragonal number ; Condition to check if the number is a icositetragonal number ; Driver Code ; Function call
function isicositetragonal ( N ) { var n = ( 10 + Math . sqrt ( 44 * N + 100 ) ) / 22 ; return ( n - parseInt ( n ) ) == 0 ; } var i = 24 ; if ( isicositetragonal ( i ) ) { document . write ( " " ) ; } else { document . write ( " " ) ; }