• Our Services
    • Math Olympiad Courses
  • Books
  • Blog
  • Alumni
  • Contact Us
  • Login

Text:

info@42points.com
42 Points42 Points
  • Our Services
    • Math Olympiad Training
      • AMC 8 & MATHCOUNTS
      • Proof-Based Preparation – Part 1
      • Proof-Based Preparation – Part 2
      • AMC 10 & AMC 12
      • Junior Math Olympiad
      • Practice of Problem Solving
      • Senior Math Olympiad
  • Books
  • Blog
  • Alumni
  • Contact
  • Log in

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

Mathematical Induction: Combinatorics

Jun 15, 2021

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

AM-GM Inequality for Two Variables

Jun 14, 2021

Inequality of Arithmetic and Geometric Means (AM-GM) states that for[...]

OMPR 3d Round 2022, High School

Apr 4, 2022

Problem 1 How many sets of integers greater than $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 9
  • 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

Ads

Cute Watercolor Bunny Throw Pillow
Adorable Watercolor Bunny Throw Pillow
by ULA Art Studio
Funny Realistic Corn Pattern Socks
Funny Corn Pattern Socks
by ULA Art Studio

42 Points

42 Points is an Online Math Olympiad Program and tutoring service.

Hablamos español, contáctenos para mayor información sobre nuestros cursos y servicios.

 

Contact Information

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

Quick Links

  • Math Olympiad Courses
  • AP Calculus
  • Online Math Tutoring
  • Books
  • Blog
  • Alumni
  • Help Center

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

© 2025 — 42 Points.

  • Online Math Training & Tutoring Services
  • Disclaimer
  • Contact
  • Buy AMC 10 Preparation Book
Prev Next