memorisable stuff Flashcards

1
Q

coprime:

A

gcd(a,b)=1, a and b are coprime, no prime factors in common

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

bezout’s lemma:

A

a,b integers with at least one not equal to 0, then there’s integers s,t such that as+bt=gcd(a,b)

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

some pk and qk things:

A

pkq(k-1)-p(k-1)qk=(-1)^(k-1)
pkq(k-2)-p(k-2)qk=(-1)^(k)xk
try dividing the above by the q bits for more stuff
qk>q(k-1) (and so on)

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

periodic continued fractions and pell equations:

A

if root(d)=[x0: x1,…,xr] (x1-xr has a bar to show repeat), then the fundamental solution of the pell equation x^(2)-dy^(2)=1 is pn/qn where n=2r-1 if r is odd and r-1 if r is even

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

unit:

A

an element of modulo n with a multiplicative inverse, so [a] is a unit modulo n if there exists [b] such that [a][b]=1, set of units is Un
[a] is a unit iff gcd(a,n)=1

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

wilson’s theorem:

A

a positive int is prime iff (p-1)!== -1 mod p

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

euler’s function:

A

ϕ(n)=no. of positive ints a <= n with gcd(a,n)=1, so ϕ(n)=|Un|

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

ϕ(p^m)=:

A

(p being a prime) p^(m-1)(p-1)

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

ϕ(nm), n m coprime:

A

ϕ(n)ϕ(m)

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

ϕ(n) and prime factorisation:

A

n=p1^(m1)…pk^(mk), its prime factorisation, then ϕ(n)=ϕ(p1)…ϕ(pm)=p1^(m1-1)(p1-1)…pk^(mk-1)(pk-1)

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

euler’s theorem:

A

a,n pos ints with gcd(a,n)=1, then a^(ϕ(n))==1 mod n

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

fermat’s little theorem:

A

p prime, a not divisible by p, then a^(p-1)==1 mod p

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

chinese remainder theorem:

A

n1,…,nk coprime, when given simultaneous congruences x=a1 mod n1,…,x=ak mod nk, x=n=n1…nk (multiplied) which is a single congruence class
basically multiply the ni’s to get n, for each ai find mi=n/ni, mi-ni=si, then sum aimisi and find what that is mod n

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

lagrange’s polynomial congruence theorem:

A

f(x) is a polynomial with degree d and int coefficients, p is a prime, if some coefficient of f(x) is not divisible by p then f(x)=0 mod p has at most d sols modulo p

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

hensel’s lemma:

A

f(x) a polynomial with int coefficients, p a prime, a an int, if there exists f(a)==0 mod p and f’(a)!==0 mod p then for all m>=1 there exists a unique int r with 1<=r<=p^m and f(r)==0 mod p^m and r==a mod p
notation is that non-singular sols modulo p lift to unique sols modulo p^m

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

primitive roots:

A

[a] has order ϕ(n), so generates the entire group Un, so exists iff Un is cyclic
translated that means each [a]^i, 1<=i<=n, is a different element so all are covered
when calcing remember that if [a]^i=[1] and i!=n, it will repeat and so not cover the as yet unused elements
a^(ϕ(n)/q)!==1 mod n for each prime divisor q of n means a is a primitive root
there’s ϕ(p-1) primitive roots modulo p, p must be prime

17
Q

which Un groups are cyclic:

A

Un is cyclic iff n=1, 2, 4, p^k, or 2p^k, where p is an odd prime and k>=1

18
Q

quadratic residue:

A

[a] in Un is quadratic residue if there exists [x] in Un such that [a]=[x]^2
group of quad reses is denoted Qn

19
Q

legendre symbol:

A

(a/p)=0 if [a]=[0], 1 if [a] in Qp, and -1 if [a] in Up\Qp, p is an odd prime
(ab/p)=(a/p)(b/p)

20
Q

legendre and primitive roots:

A

(a^(i)/p)=(-1)^i

21
Q

euler’s criterion:

A

(a/p)==a^((p-1)/2) mod p
so (-1/p)=(-1)^((p-1)/2) and [-1] in Qp iff p==1 mod 4
and [2] in Qp iff p=+-1 mod 8

22
Q

quadratic reciprocity:

A

(q/p)(p/q)=(-1)^((p-1)(q-1)/4)
so if either p or q == 1 mod 4, (q/p)(p/q)=1 so (q/p)=(p/q) (cause 1 or -1 squared is 1 but 1*-1 is not)
and otherwise (q/p)=-(p/q)