• 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

42 Points is an Online Math Training Program and Tutoring Service. Learn more about our services at https://42points.com/

You also might be interested in

Team Selection Process for IMO in Ukraine

Jun 14, 2021

The team selection process for IMO in Ukraine consists of[...]

Polish Mathematical Olympiad, 2021

Nov 20, 2021

Problem 1 Positive integers $a$, $b$, $n$ satisfy the equality[...]

Puerto Rico Team Selection Test, 2022. Day 1

Apr 30, 2022

Problem 1 Find all triples $(a,b,c)$ of positive integers such[...]

Join our newsletter

Post Archives

Post Categories

Most Liked Posts

  • Solutions to the Polish Mathematical Olympiad, 2021 By 42 Points on December 21, 2021 10
  • 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 guide students on their journey through Math Olympiad Preparation. We offer two key resources for students aiming to excel in competitions: comprehensive courses and carefully crafted books. Both are designed to build problem-solving skills and provide a clear path toward success in Math Olympiads.

 

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