Given a, b, c, d, find out the number of pairs of integers where a≤x≤b,c≤y≤da leq x leq b, c leq y leq da≤x≤b,c≤y≤d and xyx cdot yxy is multiple of 2017.
Given a, b, c, d, find out the number of pairs of integers (x, y) where a≤x≤b,c≤y≤da leq x leq b, c leq y leq da≤x≤b,c≤y≤d and x⋅yx cdot yx⋅y is multiple of 2017.
(图片来源网络,侵删)