🇸🇦 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 Stage
Format & Scope
Core Mathematical Focus
Stage 1 · Cities & Governorates
Non-calculator objective MCQ screening across 47+ Saudi education directorates
Algebraic telescoping, digit/divisibility sense, parity, area ratios & inscribed angles
Stage 2 · Pre-Final Qualifiers
Multi-step short-answer & structured problems across the 4 Olympiad branches
Vieta, SFFT Diophantine factoring, CRT/Euler remainders, PIE/recurrences, Power of a Point
Stage 3 · Riyadh National Finals
Full written 7-point Olympiad proofs; medals & Mawhiba IMO Team Camp selection
In NSMO Stage 1 and Stage 2, calendar-year numbers (like 2026 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 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:
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 \).
\(\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
Orbit length \(\frac{m}{\gcd(a, m)}\) and number of disjoint residue cycles \(\gcd(a, m)\)
Parameter / Invariant
Computed Value
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 \).
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 \)?
[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 \).