mathematics
Off-by-one in the count
What goes wrong
Counts the intervals where the stem counts the endpoints, or the reverse.
Next time
Explicitly state whether boundaries are included—use for inclusive integer ranges—and list the edge cases (, start, and end elements) by hand.
Questions that set this trap
9 published questions
- mathematicsLet be a non constant twice differentiable such that…
- mathematicsLet represent a parabola with focus and directrix . Then…
- mathematicsLet be an A.P. If , the product is minimum and the sum of its first terms is zero, then…
- mathematicsThe number of points on the curve at which the normal lines are parallel to…
- mathematicsIf , then is e…
- mathematicsIf denotes the greatest integer , then the value of is :
- mathematicsLet be the maximum value of the product of two positive integers when their sum is 66. Let the sample space…
- mathematicsLet , and . Then the sum of all the positive integ…
- mathematicsThe value of is