Recently, in one of the assessments, I came across this question: Given two integers A and B, return the number of integers from the range A..B which can be expressed as the pro