✓ Official Syllabus VerifiedStandards & Rigor ↗
🇸🇦 Subsection II · NSMO of KSA — National Science & Mathematics Olympiad (Mawhiba · أولمبياد نسما الوطني)
9

NSMO of KSA (Stages 1 & 2): Mawhiba Screening & Regional Directorate Qualifiers

🇸🇦 Subsection II · NSMO of KSA (Mawhiba & Ministry of Education) NSMO STAGES 1–2 · نسما  ·  Official 3-stage Mawhiba NSMO competition structure  ·  1001 = 7×11×13 block-digit & repunit divisibility tricks  ·  Ordered coprime factorizations for GCD/LCM systems  ·  Double counting, grid parity & inclusion-exclusion  ·  Fast non-calculator circle/triangle angle & area chasing

The National Science and Mathematics Olympiad (NSMO — أولمبياد العلوم والرياضيات الوطني «نسما») is the Kingdom of Saudi Arabia’s flagship mathematical competition, organized jointly by the King Abdulaziz and His Companions Foundation for Giftedness and Creativity (Mawhiba — موهبة) and the Saudi Ministry of Education. Across three progressive elimination stages, NSMO identifies talented intermediate and secondary students from every Saudi city and governorate and recruits top performers into Mawhiba’s intensive training camps for the Gulf, Balkan, Asian Pacific, European Girls’, and International Mathematical Olympiads (IMO).

Official NSMO of KSA (Mawhiba) Three-Stage Architecture & Preparation Blueprint
NSMO StageFormat & ScopeCore Mathematical Focus
Stage 1 · Cities & GovernoratesNon-calculator objective MCQ screening across 47+ Saudi education directoratesAlgebraic telescoping, digit/divisibility sense, parity, area ratios & inscribed angles
Stage 2 · Pre-Final QualifiersMulti-step short-answer & structured problems across the 4 Olympiad branchesVieta, SFFT Diophantine factoring, CRT/Euler remainders, PIE/recurrences, Power of a Point
Stage 3 · Riyadh National FinalsFull written 7-point Olympiad proofs; medals & Mawhiba IMO Team Camp selectionFunctional equations, LTE/order primes, extremal/invariant proofs, synthetic circle/center proofs
● Definition 9.1 — Decimal Representation, Repunits & The 1001 = 7 × 11 × 13 Engine

In NSMO Stage 1 and Stage 2, calendar-year numbers (like 2026 ) and multi-digit blocks are designed around base-10 congruences:
• Modulo 9: \( 10^k \equiv 1 \pmod 9 \implies \overline{d_m \dots d_0} \equiv \sum_{k=0}^m d_k \pmod 9 \).
• Modulo 11: \( 10^k \equiv (-1)^k \pmod{11} \implies \overline{d_m \dots d_0} \equiv \sum_{k=0}^m (-1)^k d_k \pmod{11} \).
• The Magic Factor 1001 : \( 10^3 + 1 = 1001 = 7 \times 11 \times 13 \)! Consequently, repeating any 3-digit number \( \overline{abcabc} = 1001 \cdot \overline{abc} \) is ALWAYS divisible by \( 7, 11, \) and \( 13 \), and \( 10^3 \equiv -1 \pmod{7, 11, 13} \).
• Repunits: \( R_n = \underbrace{11\dots 1}_{n} = \frac{10^n - 1}{9} \), and \( \gcd(10^a - 1,\; 10^b - 1) = 10^{\gcd(a,b)} - 1 \)!

● Theorem 9.2 — Coprime Factorization of GCD/LCM Pairs & Repunit GCD Law

1. Coprime Parameterization of \( (a, b) \): Every pair of positive integers \( (a, b) \) with \( \gcd(a, b) = g \) and \( \operatorname{lcm}(a, b) = L \) (requiring \( g \mid L \)) can be written uniquely as \( a = g x,\; b = g y \) where:

\[ \gcd(x, y) = 1 \quad \text{and} \quad xy = \frac{L}{g}. \]

If \( \frac{L}{g} \) has \( \omega \) distinct prime factors, then each prime power \( p_i^{e_i} \parallel \frac{L}{g} \) must go ENTIRELY to \( x \) or ENTIRELY to \( y \), giving exactly \( 2^\omega \) ordered pairs \( (a, b) \)!

2. Exponential GCD Identity: For any integer \( b \ge 2 \) and \( m, n \ge 1 \), \( \gcd(b^m - 1,\; b^n - 1) = b^{\gcd(m, n)} - 1 \).

◆ Proof — Euclidean Descent Proof of gcd(b^m − 1, b^n − 1) = b^{gcd(m,n)} − 1

Suppose \( m = qn + r \) with \( 0 \le r < n \). Note the exact algebraic identity:

\[ b^m - 1 = b^{qn + r} - 1 = b^r(b^{qn} - 1) + (b^r - 1). \]

Since \( (b^n - 1) \mid (b^{qn} - 1) \), the Euclidean GCD reduction \( \gcd(U, V) = \gcd(V, U \bmod V) \) gives:

\[ \gcd(b^m - 1,\; b^n - 1) = \gcd(b^n - 1,\; b^r(b^{qn}-1) + (b^r - 1)) = \gcd(b^n - 1,\; b^r - 1). \]

Thus each step of the Euclidean algorithm on the exponents \( (m, n) \to (n, r) \) mirrors an exact GCD preservation on \( (b^m - 1, b^n - 1) \)! Terminating at \( (d, 0) \) where \( d = \gcd(m, n) \) yields \( \gcd(b^d - 1, 0) = b^{\gcd(m, n)} - 1 \). \( \blacksquare \)

NSMO Stage 1 Time Pacing
Never expand \(2026^2\)! Substitute \(x = 2026\), factor algebraically, then plug back.
Coprime Pair Count \(2^\omega\)
Ordered \((a,b)\) with \(\gcd=g, \operatorname{lcm}=L\) equals \(2^{\omega(L/g)}\)
Digit Reversal \(\overline{abc} - \overline{cba}\)
\(\overline{abc} - \overline{cba} = 99(a - c)\)—always a multiple of \(9\) and \(11\)!
Exterior Secant Angle
\(\angle P = \frac{1}{2}(\widehat{BD} - \widehat{AC})\) for secants \(PAB\) and \(PCD\)
Inclusion–Exclusion in Mawhiba directorate screening: among \(70\) nominees with \(6\) in Chemistry only (outside \(M \cup P\)), \(|M \cup P| = 64 \implies |M \cap P| = 48 + 35 - 64 = 19\) dual qualifiers.
⊙ Explorer · NSMO Modular Star Polygon & Residue Cycle Lab (k·a mod m)
interactive
Cycles \(\gcd(a, m)\)gcd(6, 15) = 3
Vertices Hit from \(0\)15 / 3 = 5
Visits All Residues?No (gcd ≠ 1)

A classic NSMO Stage 1/2 puzzle: jumping around an \(m\)-gon by step \(a\) visits ALL \(m\) vertices if and only if \(\gcd(a, m) = 1\); otherwise the \(m\) vertices split into \(d = \gcd(a, m)\) congruent \((m/d)\)-gons!

NSMO Stage 1 Exterior Secant Theorem: two secants from external point \(P\) intercept far arc \(110^\circ\) and near arc \(46^\circ\), so \(\angle P = \frac{110^\circ - 46^\circ}{2} = 32^\circ\).
Worked Example 9.A — NSMO Stage 1 Year-Number Algebraic Substitution
Problem. Without a calculator, evaluate the exact integer:
\[ N = \sqrt{2023 \times 2025 \times 2027 \times 2029 + 16}. \]
▸ Show step-by-step solution

Center the symmetry at \( x = 2026 \)! Then the four factors are \( (x - 3)(x - 1)(x + 1)(x + 3) \):
\[ (x^2 - 9)(x^2 - 1) + 16 = x^4 - 10x^2 + 9 + 16 = x^4 - 10x^2 + 25 = (x^2 - 5)^2! \]
Taking the positive square root gives \( N = x^2 - 5 \). Now compute \( 2026^2 - 5 \) mentally via \( (2000 + 26)^2 = 4{,}000{,}000 + 104{,}000 + 676 = 4{,}104{,}676 \), so \( N = 4{,}104{,}676 - 5 = 4{,}104{,}671 \).

Worked Example 9.B — NSMO Stage 2 Ordered GCD/LCM Pairs & Prime Blocks
Problem. How many ordered pairs of positive integers \( (a, b) \) satisfy \( \gcd(a, b) = 6 \) and \( \operatorname{lcm}(a, b) = 2520 \)?
▸ Show step-by-step solution

Write \( a = 6x \) and \( b = 6y \) with \( \gcd(x, y) = 1 \). Then \( xy = \frac{\operatorname{lcm}(a,b)}{\gcd(a,b)} = \frac{2520}{6} = 420 \).
Factor \( 420 \) into prime powers: \( 420 = 4 \times 105 = 2^2 \cdot 3^1 \cdot 5^1 \cdot 7^1 \).
Because \( \gcd(x, y) = 1 \), none of the \( 4 \) prime-power blocks \( \{2^2,\; 3,\; 5,\; 7\} \) can be split between \( x \) and \( y \)! Each of the \( \omega(420) = 4 \) blocks independently goes either to \( x \) or to \( y \), giving \( 2^4 = 16 \) ordered pairs \( (a, b) \).

Worked Example 9.C — Repunit GCD in NSMO Stage 2 Number Theory
Problem. Let \( A = \underbrace{111\dots 1}_{42 \text{ ones}} \) and \( B = \underbrace{111\dots 1}_{70 \text{ ones}} \). How many digits does \( \gcd(A, B) \) have?
▸ Show step-by-step solution

Write \( A = \frac{10^{42} - 1}{9} \) and \( B = \frac{10^{70} - 1}{9} \). By Theorem 9.2:
\[ \gcd(10^{42} - 1,\; 10^{70} - 1) = 10^{\gcd(42, 70)} - 1 = 10^{14} - 1. \]
Dividing both sides by \( 9 \) gives \( \gcd(A, B) = \frac{10^{14} - 1}{9} = \underbrace{111\dots 1}_{14 \text{ ones}} \), which has exactly \( 14 \) digits!

Worked Example 9.D — NSMO Stage 2 Incircle Tangency & Semiperimeter Jump
Problem. In \( \triangle ABC \) with \( AB = 11,\; BC = 14,\; CA = 13 \), the incircle touches \( BC, CA, AB \) at \( D, E, F \), and the \( A \)-excircle touches \( BC \) at \( X \). Find the exact length of segment \( DX \).
▸ Show step-by-step solution

Semiperimeter \( s = \frac{11 + 14 + 13}{2} = 19 \).
1. Standard incircle tangency gives \( BD = s - b = 19 - 13 = 6 \) (and \( DC = s - c = 19 - 11 = 8 \)).
2. For the \( A \)-excircle, the two tangents from \( A \) to lines \( AB, AC \) each equal \( s \), which forces \( BX = s - c = 19 - 11 = 8 \) (notice \( D \) and \( X \) are ALWAYS symmetric across the midpoint of \( BC \): \( BD = CX = s - b \) and \( BX = CD = s - c \)!).
3. Therefore \( DX = |BX - BD| = |8 - 6| = 2 \) (generally \( DX = |b - c| = |13 - 11| = 2 \)!).

⚠ NSMO Trap — Splitting Prime Powers in LCM Problems!

In Worked Example 9.B (\( xy = 420 = 2^2 \cdot 3 \cdot 5 \cdot 7 \) with \( \gcd(x, y) = 1 \)), students frequently count divisors \( \tau(420) = 24 \) instead of coprime splits \( 2^4 = 16 \)! Splitting \( 2^2 \) as \( 2 \times 2 \) violates \( \gcd(x, y) = 1 \) and doubles \( \gcd(a, b) \) from \( 6 \) to \( 12 \).

▲ Mawhiba Camp Tip — Memorize the Symmetry DX = |b − c| & 1001 = 7 · 11 · 13

Two identities appear almost annually on Saudi NSMO Stage 1/2 papers: (1) \( 1001 = 7 \times 11 \times 13 \) and \( 999{,}999 = 999 \times 1001 = 27 \times 37 \times 7 \times 11 \times 13 \) (giving every prime factor of \( 10^6 - 1 \)!), and (2) the incircle/excircle isotomic symmetry \( BD = CX = s - b \).

[Practice 9.1 · NSMO Stage 1] The 6-digit number \( \overline{38x384} \) is divisible by \( 13 \). Find the digit \( x \).
💡 Hint 1 of 3
Compare \( \overline{38x384} \) with \( \overline{384384} = 1001 \times 384 \)!
💡 Hint 2 of 3
Since \( 13 \mid 1001 \), \( 13 \) divides \( \overline{384384} \). Subtract to get \( (x - 4) \times 1000 \)!
💡 Hint 3 of 3
Since \( \gcd(1000, 13) = 1 \) and \( 0 \le x \le 9 \), deduce \( x \).
Note \( \overline{384384} = 384 \times 1001 \) is divisible by \( 13 \) (since \( 1001 = 7 \cdot 11 \cdot 13 \)). Thus \( \overline{38x384} - \overline{384384} = 1000(x - 4) \) must be divisible by \( 13 \). Since \( \gcd(1000, 13) = 1 \) and \( x \in \{0,\dots,9\} \), \( x - 4 = 0 \implies x = 4 \).
[Practice 9.2 · NSMO Stage 1] Evaluate without a calculator: \( \frac{2026^2 - 2020^2}{12} \).
💡 Hint 1 of 3
Factor the numerator as a difference of squares \( (2026 - 2020)(2026 + 2020) \).
💡 Hint 2 of 3
Simplify \( \frac{6 \times 4046}{12} \).
💡 Hint 3 of 3
Divide \( 4046 \) by \( 2 \).
Using \( a^2 - b^2 = (a-b)(a+b) \), we get \( \frac{(2026 - 2020)(2026 + 2020)}{12} = \frac{6 \times 4046}{12} = \frac{4046}{2} = 2023 \).
[Practice 9.3 · NSMO Stage 2] How many ordered pairs of positive integers \( (a, b) \) satisfy \( \gcd(a, b) = 15 \) and \( \operatorname{lcm}(a, b) = 3150 \)?
💡 Hint 1 of 3
Compute \( \frac{L}{g} = \frac{3150}{15} = 210 \).
💡 Hint 2 of 3
Factor \( 210 \) into distinct primes.
💡 Hint 3 of 3
Count \( 2^{\omega(210)} \).
Here \( \frac{L}{g} = \frac{3150}{15} = 210 = 2 \cdot 3 \cdot 5 \cdot 7 \), which has \( \omega(210) = 4 \) distinct prime factors. Thus there are \( 2^4 = 16 \) ordered pairs \( (a, b) \).
[Practice 9.4 · NSMO Stage 2] Find \( \gcd(2^{36} - 1,\; 2^{60} - 1) \) as an explicit integer.
💡 Hint 1 of 3
Apply \( \gcd(b^m - 1, b^n - 1) = b^{\gcd(m, n)} - 1 \).
💡 Hint 2 of 3
Compute \( \gcd(36, 60) \).
💡 Hint 3 of 3
Evaluate \( 2^{12} - 1 \).
Since \( \gcd(36, 60) = 12 \), \( \gcd(2^{36} - 1, 2^{60} - 1) = 2^{12} - 1 = 4096 - 1 = 4095 \).
[Practice 9.5 · NSMO Stage 2 Qualifier] In \( \triangle ABC \), \( AB = 12,\; BC = 17,\; CA = 19 \). The incircle touches \( BC \) at \( D \) and the \( A \)-excircle touches \( BC \) at \( X \). Find the length \( DX \).
💡 Hint 1 of 3
Compute semiperimeter \( s = \frac{12 + 17 + 19}{2} = 24 \).
💡 Hint 2 of 3
Use \( BD = s - AC = 24 - 19 \) and \( BX = s - AB = 24 - 12 \).
💡 Hint 3 of 3
Subtract \( DX = |BX - BD| = |CA - AB| \).
With \( s = 24 \), \( BD = s - b = 24 - 19 = 5 \) and \( BX = s - c = 24 - 12 = 12 \), so \( DX = 12 - 5 = 7 \) (matching \( |b - c| = |19 - 12| = 7 \)).

NSMO of KSA (Stages 1 & 2): Mawhiba Screening & Regional Directorate Qualifiers — Competition Proof Benchmark

6 pts No Calculator
For positive integer \(n\) and quadratic \(P(x) = x^2 + 2x + 5\) in NSMO of KSA (Stages 1 & 2): Mawhiba Screening & Regional Directorate Qualifiers, examine algebraic invariants below.
  1. (a)2 pts
    Express \(4P(x)\) as a square plus a positive constant.
    Scoring Guideline & Justification
    • [M1] Completes square on 4x^2 + 8x (1 pt)
    • [A1] Obtains (2x + 2)^2 + 16 (1 pt)
  2. (b)2 pts
    Deduce why \(P(n)\) has no real roots for any \(n\in\mathbb{R}\).
    Scoring Guideline & Justification
    • [M1] Bounds squared term >= 0 (1 pt)
    • [A1] Proves strict positivity for all real x (1 pt)
  3. (c)2 pts
    Find the remainder when \(P(10) - P(0)\) is divided by \(10\).
    Scoring Guideline & Justification
    • [M1] Computes 100 + 10k = 10(10 + k) (1 pt)
    • [A1] States remainder is 0 (1 pt)
Complete Worked Solution
(a) \(4P(x) = (2x+2)^2 + 16\). (b) Strictly positive discriminant check: \(4P(x) > 0\). (c) \(P(10)-P(0) = 10(10+2) \equiv 0 \pmod{10}\).
📝 Chapter Quiz