Problem 5
CodeChefOpen on judge ↗
Find the no of positive integral solutions for the equations (1/x) + (1/y) = 1/N! (read 1 by n factorial) Print a single integer which is the no of positive integral solutions modulo 1000007. Input: N Output: Number of positive integral solutions for (x,y) modulo 1000007 Constraints: 1 Sample Input #0: 1 Sample Output #0: 1 Sample Input #1: 32327 Sample Output #1: 656502 Sample Input #2: 40921
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start