text: Function to return the count of numbers which are divisible by both A and B in the range [ 1 , N ] in constant time
code: def countOfNum ( n , a , b ) : NEW_LINE INDENT cnt_of_a , cnt_of_b , cnt_of_ab , sum = 0 , 0 , 0 , 0 NEW_LINE DEDENT