1. Home
  2. Explore
  3. Mathematics
  4. Number Theory Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Number Theory Introduction

  • 34Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Prime Numbers
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is number theory?

Tap to flipClick to flipspace

The branch of mathematics concerned with the properties and relationships of positive integers (counting numbers).

Or swipe the card

34 cards

  1. What is number theory?

    The branch of mathematics concerned with the properties and relationships of positive integers (counting numbers).

  2. Define a prime number.

    A positive integer greater than 1 whose only positive divisors are 1 and itself.

  3. Why is 1 not considered a prime number?

    To preserve the uniqueness of prime factorization (Fundamental Theorem of Arithmetic). If 1 were prime, numbers could be factored in multiple ways (e.g., 6 = 2×3 = 2×3×1 = ...).

  4. Describe the Sieve of Eratosthenes.

    An ancient method to find all primes up to a given limit: list numbers, then repeatedly cross out multiples of each prime starting from 2.

  5. Explain Euclid's proof that there are infinitely many primes.

    Assume finitely many primes p1,...,pn. Consider N = p1×p2×...×pn + 1. No pi divides N (since remainder 1), so N must have a prime factor not in the list, contradicting the assumption.

  6. How can Euclid's proof be adapted to show infinitely many primes of the form 4n+3?

    Assume finite list of 4n+3 primes. Multiply them all, square the product, add 2, etc. The resulting number is of form 4k+3 and not divisible by any listed prime, yielding a new 4n+3 prime.

  7. State Dirichlet's theorem on arithmetic progressions.

    For coprime integers a and b, there are infinitely many primes of the form an + b.

  8. What is a Mersenne number?

    A number of the form 2n−12^{n} - 12n−1, where n is a positive integer.

  9. Are all numbers of the form 2p−12^{p} - 12p−1 prime when p is prime?

    No. Example: 211−1=2047=23×892^{11} - 1 = 2047 = 23 \times 89211−1=2047=23×89, composite. But if n is composite, 2n−12^{n} - 12n−1 is composite.

  10. Define a perfect number.

    A positive integer that equals the sum of its proper positive divisors (excluding itself).

  11. State the Euclid-Euler theorem about even perfect numbers.

    Every even perfect number is of the form 2p−1(2p−1)2^{p-1}(2^{p} - 1)2p−1(2p−1) where 2p−12^{p} - 12p−1 is a Mersenne prime.

  12. What are Fermat numbers?

    Numbers of the form Fn=22n+1F_{n} = 2^{2^{n}} + 1Fn​=22n+1 for nonnegative integers n.

  13. State Gauss's condition for constructibility of a regular polygon with ruler and compass.

    A regular n-gon is constructible if and only if n is a power of 2 times a product of distinct Fermat primes.

  14. Why can't a regular polygon with 100 sides be constructed?

    Because 100 = 22×522^{2} \times 5^{2}22×52, and the Fermat prime 5 appears squared, violating the condition.

  15. What digits can a perfect square end with in base 10?

    0, 1, 4, 5, 6, 9. It cannot end with 2, 3, 7, or 8.

  16. Prove that the sum of the first n odd numbers equals n2n^{2}n2.

    1+3+5+⋯+(2n−1)=n21 + 3 + 5 + \dots + (2n-1) = n^{2}1+3+5+⋯+(2n−1)=n2. A geometric proof arranges L-shaped patterns of dots to form a square.

  17. What possible residues modulo 4 can a perfect square have?

    0 or 1. No square is congruent to 2 or 3 mod 4.

  18. Show that a number consisting entirely of ones (e.g., 11, 111) cannot be a perfect square.

    Such numbers are congruent to 3 mod 4, but squares are only 0 or 1 mod 4.

  19. What is the residue of an odd perfect square modulo 8?

    1 mod 8.

  20. Give the formulas for generating all primitive Pythagorean triples.

    For coprime x>yx > yx>y with opposite parity: a=x2−y2a = x^{2} - y^{2}a=x2−y2, b=2xyb = 2xyb=2xy, c=x2+y2c = x^{2} + y^{2}c=x2+y2.

  21. Find all primitive Pythagorean triples with a side of length 29.

    Two triples: (21,20,29) and (29,420,421).

  22. Which numbers can be expressed as a sum of two squares?

    A number can be written as a2+b2a^{2}+b^{2}a2+b2 if and only if in its prime factorization, every prime of the form 4k+34k+34k+3 appears with an even exponent.

  23. State Fermat's Last Theorem.

    For integer n>2n > 2n>2, there are no positive integer solutions to an+bn=cna^{n} + b^{n} = c^{n}an+bn=cn.

  24. What is modular arithmetic?

    Arithmetic where numbers wrap around after reaching a certain value (the modulus). a≡b(modn)a \equiv b \pmod{n}a≡b(modn) if nnn divides a−ba-ba−b.

  25. Describe Charles Dodgson's (Lewis Carroll's) method for finding the day of the week.

    Compute four numbers: century number, year number, month number, day number. Sum them modulo 7. Century: divide year's first two digits by 4, subtract remainder from 3, double. Year: divide last two digits by 12, add quotient + remainder + floor(remainder/4). Month: use a table (e.g., Jan=0, Feb=3, ..., Sep=5). Day: day of month.

  26. In which years of the 21st century does February have five Sundays?

    2004, 2032, 2060, 2088.

  27. State Fermat's Little Theorem.

    If p is prime and a is any integer, then ap≡a(modp)a^{p} \equiv a \pmod{p}ap≡a(modp). If p does not divide a, then ap−1≡1(modp)a^{p-1} \equiv 1 \pmod{p}ap−1≡1(modp).

  28. How can Fermat's Little Theorem be proved using necklaces?

    Count necklaces with p beads and a colors, excluding single-color strings. There are ap−aa^{p} - aap−a strings, each necklace counted p times, so (ap−a)/p(a^{p} - a)/p(ap−a)/p is integer, hence ap≡a(modp)a^{p} \equiv a \pmod{p}ap≡a(modp).

  29. For a standard 52-card deck, how many perfect riffle shuffles are needed to return to original order?

    52 shuffles.

  30. For a 54-card deck (with jokers), how many perfect riffle shuffles are needed?

    20 shuffles.

  31. State Euler's theorem generalizing Fermat's Little Theorem.

    If gcd⁡(a,n)=1\gcd(a,n) = 1gcd(a,n)=1, then aφ(n)≡1(modn)a^{\varphi(n)} \equiv 1 \pmod{n}aφ(n)≡1(modn), where φ(n)\varphi(n)φ(n) is Euler's totient function.

  32. Define Euler's totient function φ(n)\varphi(n)φ(n).

    The number of positive integers less than or equal to n that are coprime to n.

  33. Explain the basic steps of RSA cryptography.

    1. Bob chooses two large primes p,q, computes N=pqN=pqN=pq and φ(N)=(p−1)(q−1)\varphi(N)=(p-1)(q-1)φ(N)=(p−1)(q−1). 2. Bob picks e coprime to φ(N)\varphi(N)φ(N), publishes (N,e). 3. Alice encodes message M as C=Memod  NC = M^{e} \mod NC=MemodN. 4. Bob computes d such that ed≡1(modφ(N))ed \equiv 1 \pmod{\varphi(N)}ed≡1(modφ(N)), then decrypts Cd≡Mmod  NC^{d} \equiv M \mod NCd≡MmodN.
  34. Why is RSA considered secure?

    It is easy to multiply two large primes but extremely hard to factor the product (N) back into primes, especially for large numbers.

Card 1 of 34
Card 1 of 34

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent