Modular Arithmatic and Number Theory Flashcards

1
Q

The sum of any rational number and any irrational number is..?

A

Irrational

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does n | d mean, and how can you rewrite it?

A

n divides d

d = kn | k ∈ ℤ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

floor(-2.5)

A

-3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ceiling(-2.5)

A

-2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Quotient-Remainder Theorem?

Given any integer n and a positive integer d, there exists unique integer q and r such that:

A

n=dq+r and 0 ≤ r < d

q = quotient, r = remainder

Also q = floor(n/d)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition:
Odd and Even Integers

A

Odd: 2k + 1
Even: 2k

(k ∈ ℤ)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

If a ≡ b (mod d) and m ≡ n (mod d) then..?

A

If a ≡ b (mod d) and m ≡ n (mod d) then:

a + m ≡ b + n (mod d) and am ≡ bn (mod d)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Find gcd(192,132)

A

192 = 132 * 1 + 60
132 = 60 * 2 +12
60 = 12 * 5 = 0

Thus gcd(192,132) = 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Find gcd(192,132) via Euclidean Algorithm.

gcd(a,b) = gcd(b,r)
Then gcd(b,r) moves to LHS.
Repeat till r = 0

A

gcd(192,132) = gcd(132,60)
gcd(132,60) = gcd(60,12)
gcd(60,12) = gcd(12,0)

Thus gcd(192,132) = 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Sequences:
What are they?
Finite, or Infinite?

A

An ordered list of elements.

Can be finite or infinite.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define the Well-ordering Principle for the Integers

A

Let S be a non-empty set of integers, each of which is greater than some fixed integer.

Then S has a smallest element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Dfference between stong and normal induction?

A

The key difference between standard induction and strong induction is in the inductive step. In standard induction, we assume the statement is true for some k and then prove it for k+1. In strong induction, we assume the statement is true for all numbers up to k and then prove it for k+1.

Strong induction is particularly useful when the proof for a given value depends on multiple preceding values, not just the immediately preceding one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define Mathmatical Induction.

A

Mathematical induction is a method of mathematical proof typically used to establish a given statement for all natural numbers. It is a form of direct proof, and it has two steps:

Base Step (or Base Case):
This step involves proving the statement for the smallest possible value (usually n=1 for natural numbers, but it can be another value depending on the problem).

Inductive Step:
This step involves assuming the statement is true for some arbitrary natural number k and then proving it is true for k+1. The idea is to show that if the statement holds for one number, it must also hold for the next number.

If both steps are successfully completed, then by the principle of mathematical induction, the statement is true for all natural numbers starting from the base case.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an Explicit Formula?

A

Explicit formulas are where each an is defined without reference to any other term in the sequence, i.e. aₘ = 3ᵐ or aₘ = 2(m-1) etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Recursive Definition?

A

Recursive definitions have base case/s and then a definition for for terms which is dependent on preceding terms, i.e. aₘ = 2aₘ₋₁

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Unique Prime Factorisation of: 72

A

72/2 = 36
36/2 = 18
18/2 = 9
9/3 = 3
3/3 = 1

Thus 72 = 2³ * 3²

16
Q

Unique Prime Factorisation of: 72²

A

72/2 = 36
36/2 = 18
18/2 = 9
9/3 = 3
3/3 = 1

Thus 72 = 2³ * 3² and
72² = (2³ * 3²)² = 2⁶ * 3⁴

17
Q

What makes 2 numbers coprime?

A

If they share no common factors.

eg: 10 and 4 are not coprime as:
4 = 2 * 2
10 = 2 * 5