Count numbers in range [A, B] as product of two consecutive elements
Filed under Grab
The question
Given two integers A and B, count how many numbers in the range [A, B] can be expressed as the product of two consecutive integers.
No write-up yet. Related questions below have one.
Related Grab questions
Collected from public candidate posts and coding forums. Updated Nov 2026.