1/28
Looks like no tags are added yet.
tau(n)
number of positive divisors of n
σ(n)
the sum of positive divisors of n
if n=p1k1p2k2…prkr then tau(n)=
(k1+1)(k2+1)…(kr+1)
if n=p1k1p2k2…prkr then σ(n)=
[(p1k1+1-1)/(p1-1)][(p2k2+1-1)/(p2-1)]…[(prkr+1-1)/(pr-1)]
if n is prime then (tau and σ)…
tau(n)=2 and σ(n)=n+1
σ multiplicative theorem
if m and n are relatively prime then σ(mn)=σ(m)σ(n)
µ(n) is ___ if ___
1 if n=1; 0 if p2|n for some prime p; (-1)r if n=p1p2…pr where each pi is a distinct prime
mobius inversion
if F(n)=∑d|nf(d) then f(n)=∑d|nµ(d)F(n/d) = ∑d|nµ(n/d)F(d)
µ multiplicative theorem
if m and n are relatively prime then µ(mn)=µ(m)µ(n)
[x] is
the largest integer less than or equal to x; x-1<[x]≤x
[x] theta def
for 0≤θ<1, x=[x]+θ
higher power dividing n! theorem (theorem 6.9)
if n is a positive integer and p is prime then the exponent of the highest power of p dividing n! is ∑k=1∞[n/pk] where the series is finite when pk>n
σ(n) (phi)
number of positive integers relatively prime to n that are ≤ n
σ phi is multiplicative theorem
if m and n are relatively prime then σ(mn)=σ(m)σ(n)
let a be prime (gcd theorem)
a does not divide n IFF gcd(a,n)=1; if a not prime, then converse holds (gcd to | direction)
σ(n) phi (theorem if n is prime)
σ(n)=n-1 IFF n is prime
if p is prime; σ phi (theorem 7.1)
σ(pk)=pk-pk-1=pk(1-(1/p))
if n=p1k1p2k2…prkr then σ phi
= n(1-(1/p1))(1-(1/p2))…(1-(1/pr))
euler σ phi theorem (theorem 7.5)
if gcd(a,n)=1 then aσ(n)≡1(mod n)
finding last two decimal digits or unit digits
find last two decimal digits of 3256 we start with σ(100)=40 and 340≡1(mod 100). as 256=40×6+16, we get 3256≡36×40+16≡316(mod 100); for units digit, we start with σ(10) not σ(100)
order def
gcd(a,n)=1, a is of order k mod n if k is the SMALLEST positive integer s.t. ak≡1(mod n)
order theorem with phi and | (theorem 8.1)
let a have order k mod n. Then ah≡1(mod n) IFF k|h, k|σ(n)
confirm that 51| 1032n+9-7
show 1032n+9≡7(mod 51); 51=3×17; 3: 10σ(3)≡1(mod 3) and show 1032n+9≡7(mod 3); 17: 10σ(17)≡1(mod 17) and show 1032n+9≡7(mod 17); as 3×17=51 and 1032n+9≡7(mod 3 and 17), 1032n+9≡7(mod 51), thus 51| 1032n+9-7
lagrange (num of solutions) theorem 8.5
if p is prime and f(x)=anxn+…a1x+a0 and an not congruent 0 (mod p) then f(x)≡0(mod p) has at most n solutions mod p
how to solve something like ax2+bx+c≡0(mod p)
y=2ax+b and d=b²-4ac; y²≡d(mod p), don’t plug y=2ax+b in this, only d=b2-4ac; find y=3 or 8 for ex; plug y in to get 2ax+b≡3(mod p) and 2ax+b≡8(mod p); solve (just use algebra to find x)
how many primitive roots p has theorem (corollary pg 155)
if p is prime then there are exactly σ(p-1) phi primitive roots
fermat’s little theorem
xp-1≡1(mod p)
order stuff with k and h theorem (theorem 8.3)
if a has order k mod n and h>0 then ah has order k/gcd(h,k); when gcd(h,k)=1 ah is primitive root
how to find quadratic residue given primitive root g of odd prime p
find order, set h=p-1; order of gk(mod p) is (h/gcd(h,k)) | ((p-1)/2) aka set g/gcd(h,k) to divisors of (p-1)/2 and find gcd(h,k) for each divisor; find all k that satisfy each gcd(h,k)=divisor1, divisor 2, etc.; calculate gk(mod p) and state residues; all else fails, list all powers k from 2 to p-1 (22,24,…2k) and find residues for each k s.t. gk(mod p)