SASMO Counting: Classify the Last Symbol Before Counting Binary Strings

How many strings of length six made from zero and one have no pair of adjacent ones? Leading zeros are allowed, so the strings are not being treated as six-digit positive integers. This original SASMO-style exercise asks for a complete count, not a probability. The main task is to divide the valid strings into classes that neither overlap nor leave a permissible ending uncounted.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-S5-1126 and tell us your school year and question.

Define a count for every shorter length

Let f of n count valid strings of length n. For length zero there is one empty string, which is a useful counting boundary rather than a written numeral. For length one the strings are zero and one, so the count is two. These starting values must match the convention that leading zeros are allowed.

Classify valid strings ending in zero

Appending a zero to any valid string of length n minus one creates a valid string of length n ending in zero. Conversely, removing that final zero recovers exactly one shorter valid string. This reversible correspondence establishes a count of f of n minus one for this class, without counting a shorter string more than once.

Classify the strings ending in one

For length at least two, a valid final one must be preceded by zero. Remove the final zero-one block and what remains is any valid string of length n minus two. Appending zero-one to such a shorter string cannot introduce an adjacent-one pair across the join because the appended block starts with zero.

Add the disjoint ending classes

Every string ends in zero or one and cannot end in both. Therefore f of n equals f of n minus one plus f of n minus two for n at least two. Starting from one and two gives counts three, five, eight, thirteen and twenty-one for lengths two through six. The required answer is twenty-one.

Check the small cases and the excluded convention

At length two, the valid strings are zero-zero, zero-one and one-zero; one-one is excluded, agreeing with the recurrence. If leading zeros were forbidden, the first-symbol restriction would change the count and initial conditions. It would be incorrect to keep twenty-one merely because the same two symbols still appear.

Explain why the recurrence is a proof

The answer follows from a complete partition and two reversible constructions, not just a familiar-looking numerical sequence. Other restrictions, such as no adjacent zeros as well, require new ending states. Official resources are linked separately for independent practice. This original exercise does not reproduce a current contest question, and recognising a sequence name is optional; the case argument is what makes the count checkable.

Continue reading: SASMO Counting Practice: Subtract Paths Through a Point Without Losing Their Two Stages.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-S5-1126. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send SASMO-S5-1126.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

SASMO Fractions: A Long Reciprocal Sum Can Leave Just Two Boundary Terms

Find the sum of one divided by n times n plus one for the integers n from one through nine. Written separately, the fractions have denominators two, six, twelve and so on up to ninety. This original fraction exercise asks for an exact finite sum. A cancellation pattern is useful only after every fraction has been rewritten by a valid identity and the starting and ending indices remain visible.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-S4-1126 and tell us your school year and question.

Split one term by checking the numerator

One divided by n minus one divided by n plus one has combined numerator n plus one minus n, which is one, over n times n plus one. Therefore the proposed difference equals the original term. It is not one divided by n plus one alone, and the identity requires the denominators to be nonzero.

Write several adjacent terms before cancelling

The first term becomes one minus one half. The second becomes one half minus one third. The third becomes one third minus one quarter. Writing these neighbours shows why the internal fractions cancel: each negative fraction from one term meets an equal positive fraction from the next.

Retain both ends of the finite list

The ninth term is one ninth minus one tenth. After cancellation, the initial one and final negative one tenth remain, giving nine tenths. Removing the last negative term would give one, which is not the requested nine-term sum. The finite endpoint contains information that cannot be discarded merely because the pattern could continue.

Check the result against simple bounds

All nine terms are positive, so the sum is greater than its first term, one half. The exact value nine tenths is also less than one, as the uncancelled expression shows. Adding a tenth term would increase the sum to ten elevenths, not keep it at nine tenths. These checks support the arithmetic without replacing the proof.

Generalise with the original starting index

From n equal to one through N, the same argument gives one minus one divided by N plus one. If the list starts at n equal to three instead, the surviving initial term is one third. Both ends must follow the specified range; memorising only N over N plus one can produce a wrong answer when the first term changes.

Separate a finite answer from a limit

As N increases without bound, the remainder one divided by N plus one approaches zero, so the finite sums approach one. No finite positive N makes that remainder exactly zero. Official SASMO resources are linked separately. This is original algebraic practice in rewriting, cancellation and boundary control, not a reproduced current contest question or a claim that every reciprocal sum telescopes.

Continue reading: SASMO Extension Practice: Turn a Fraction Equation into Factor Pairs.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-S4-1126. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send SASMO-S4-1126.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service