In [20]:
function M(p,q,N)
    pq = p * q
    pq > N || return 0
    guess = pq * fld(N, pq)
    for i = guess:1
        ftors = factor(i)

end


Out[20]:
M (generic function with 1 method)

In [23]:
println(M(2,3,100))
println(M(3,5,100))
println(M(2,73,100))


96
90
0

In [ ]: