How many ordered pairs of positive integers (a,b) satisfy a times b at most twelve? This original SASMO-style extension turns a curved product restriction into a short sum of row lengths. The word ordered means that (two,three) and (three,two) count separately. Positivity is also essential: allowing zero would introduce infinitely many pairs rather than a finite list.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-S7-1129 and tell us your school year and question.
Bound the first coordinate using positivity
Since b is at least one, a cannot exceed twelve. For a fixed a, the possible b values are one through the greatest integer at most twelve divided by a. Thus each row has floor(12/a) points. An ordinary quotient such as 12/5 equals 2.4 describes a boundary position, not 2.4 possible integer choices.
Write the row counts in order
For a from one to twelve, the counts are 12, 6, 4, 3, 2, 2, 1, 1, 1, 1, 1 and 1. For example, a equal to five allows b one or two, while a equal to seven allows only b one. The inequality includes equality, so pairs such as (three,four) and (two,six) remain in the count.
Sum all the distinct rows
The first four rows total twenty-five. The next two add four, and the last six add six, giving thirty-five ordered pairs. Each pair has exactly one first coordinate, so the rows do not overlap. This partitions the complete feasible set without requiring every pair to be written individually.
Use symmetry to check an unordered version
Reflection across a equal to b pairs each off-diagonal ordered pair with its reverse. The diagonal pairs satisfy a squared at most twelve, giving (one,one), (two,two) and (three,three), three cases. Thus thirty-five minus three leaves thirty-two off-diagonal ordered pairs, or sixteen unordered off-diagonal pairs. Adding the three diagonal cases gives nineteen unordered pairs.
Do not divide the full count by two
Thirty-five divided by two is not the unordered answer, because a diagonal pair is unchanged by reversal and has no distinct partner. The corrected expression is (thirty-five minus three) divided by two, then plus three. The difference between ordered and unordered counting depends on identifying fixed cases, not merely on the appearance of two coordinates in the notation.
Check changes to the problem before reusing the sum
If the boundary were strict, products equal to twelve would need removal. If negative integers or zero were allowed, the feasible set and finiteness would change. State the domain, inequality and order convention, then build row counts and check the diagonal. The exercise is original counting practice and does not claim to reproduce an official current SASMO problem.
Continue reading: SASMO Structured Counting: Three Pairs of Brackets Have Five Balanced Arrangements.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-S7-1129. Include your school year, country or competition region, experience and the question you want to discuss.

On your phone, use the button or save the QR image and scan it within WeChat.
Official information and further reading: Source 1
