Nearest smaller number to N having multiplicative inverse under modulo N equal to that number | Function to find the nearest smaller number satisfying the condition ; Driver Code
function clstNum ( N ) { return ( N - 1 ) ; } let N = 11 ; document . write ( clstNum ( N ) ) ;