• Courses
    • Math Olympiad Courses
  • Math Olympiad Books
  • Blog
  • Alumni
  • Contact Us

Text:

info@42points.com
42 Points42 Points
  • Math Olympiad Courses
    • Math Olympiad Training
      • AMC 8 & MATHCOUNTS
      • Proof-Based Preparation
      • AMC 10 & AMC 12
      • Junior Math Olympiad
      • Practice of Problem Solving
      • Senior Math Olympiad
  • Math Olympiad Books
  • Blog
  • Alumni
  • Contact

Complementary Counting

October 8, 2021 Math Olympiads Topics

Complementary Counting consists in counting the total number of elements (universal set) and subtracting the number of elements that do not satisfy the given property (complementary set).

Problem (Puerto Rico, 2011)

How many six-digit numbers have at least one even digit?

Solution

Answer: $9 \cdot 10^5-5^6$.



Let $A$ be all six-digit numbers that have at least one even digit. Let us first find number of elements in the universal set $U$, i.e. the total number of six-digit numbers:

$$ |U| = 9 \cdot 10 \cdot 10 \cdot 10 \cdot 10 \cdot 10 = 9 \cdot 10^5$$

Train for Math Olympiads

Learn more

 

Now let us find the number of elements in the complementary set $A^{c}$, i.e. the number of six-digit numbers that do not have even digits. This means that all the digits should be odd and

$$|A^c| = 5 \cdot 5 \cdot 5 \cdot 5 \cdot 5 \cdot 5 = 5^6$$

Therefore the number of elements in the set $A$ is equal to

$$|A| = |U| – |A^c| = 9 \cdot 10^5-5^6$$




Share
1

About 42 Points

At 42 Points, we help students prepare for Math Olympiad competitions through courses and books. Both focus on building problem-solving skills and providing a clear path to success.

You also might be interested in

Mathematical Induction: Algebra

Jun 15, 2021

Mathematical Induction is used to prove that the statement of[...]

How to Find the Derivative

Aug 30, 2021

In order to find the derivative $f'(x)$ of a particular[...]

Discrete Continuity

Apr 25, 2022

Let some quantity $Q(x)$ change its value by $\pm 1$,[...]

Join our newsletter

Post Archives

Post Categories

Most Liked Posts

  • Solutions to the Polish Mathematical Olympiad, 2021 By 42 Points on December 21, 2021 11
  • Monovariant By 42 Points on June 12, 2021 7
  • Puerto Rico Team Selection Test, 2021. Day 2 By 42 Points on September 14, 2021 7

Tag Cloud

Math Competitions Math Olympiads Math Topics OMPR OMPR 2022 Puerto Rico

Find us on

42 Points

At 42 Points, we help students prepare for Math Olympiad competitions through courses and books. Both focus on building problem-solving skills and providing a clear path to success.

Contact Information

  • 42 Points
  • info@42points.com
  • 42points.com

Quick Links

  • Math Olympiad Courses
  • Math Olympiad Books
  • Blog
  • Alumni

Fresh from 42Pedia blog

  • Puerto Rico Team Selection Test, 2023. Day 2
  • Puerto Rico Team Selection Test, 2023. Day 1
  • Team Selection Test for Centro and Ibero 2022

WE ACCEPT

PayPal Acceptance Mark

© 2026 — 42 Points.

  • Online Math Olympiad Preparation
  • Disclaimer
  • Contact
  • Buy AMC 10 Preparation Book
Prev Next