FUN WITH MATHS
CodeChefOpen on judge ↗
There is a number N which can be represented as a product of K consecutive natural numbers. "START" is the first integer of the K consecutive integers if read in increasing order ( for example, if 3,4,5,6,7 are five consecutive natural numbers then START=3 ). Task is to find D, which is a divisor of N such that D itself is expressible as a product of **SOME OTHER** K consecutive natural numbers.
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