Forum — Daily Challenge
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    why is 1 not considered a prime number?

    Module 5 Day 3 Challenge Part 4
    2
    2
    13
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      amusingminnow M0 M1 M2 M3 M4 M5
      last edited by

      I understand how you got the correct answer, but am confused as to why 1 was excluded.

      quacker88Q 1 Reply Last reply Reply Quote 1
      • quacker88Q
        quacker88 MOD @amusingminnow
        last edited by quacker88

        @amusingminnow Great question! So, by definition, composite numbers are numbers that have more than \(2\) factors, and prime numbers are numbers that have exactly \(2\) factors: \(1\) and itself. The thing with \(1\) is that it only has one factor: \(1!\) so, it's neither prime nor composite.

        \(1\) is just a unit, so it's called a unit sometimes.

        1 Reply Last reply Reply Quote 1

        • 1 / 1
        • First post
          Last post
        Daily Challenge | Terms | COPPA