1 Assignment 1
1.1 Problem 1.
Given \(n\equiv 1\)(mod 8) we looking for the number of subsets n-element set, whose size is 0 (mod 4).
Let \(S_n(a,b)\) be the sum of the binomial coefficients with \(k\equiv a\) (mod b).
we can notice that the amount of subsets of a n-element set, whose size is 0(mod4) when \(n\equiv 1\)(mod 8)
and based on the symetric propertyy of the binomial its sufistace to add the binomal form of 0 :
moreover we can see taht \(S_n(0,2)=S_n(1,2)=2^{n-1}\)
while summing \(2^n+(1+i)^n+(1-i)^n+0\) them will leave us with
follow the property at Equating 2 from above \(S_n(0,4)-S(2,4)\) can showed as the \(i\) part as \(\mathbf{R}((i+1)^n)\) following:
now for \(n\equiv 1\) (mod 8) lets set in the last equating \(1/\sqrt{2}\) summing all up together we get :
1.2 Problem 2.
Based on the following formula
acombinatorial proof of the identity above, lets say we have \(2n\) student that want to study the "Basic Combinatoric" course, but for some reason the university decide to schedule the course in class with only \(n\) seats. so we need to choose group of \(n\) student that could have a seat in the class (all the other will watch from zoom), so in total we have
on the other hand lets split all the student into 2 equal size group \(n\), now we can choose \(k\) student from the first and \(n-k\) from the second
because we don’t care about the order and want to cover all the sub-group sizes from each one of them, we will some up all the sub-group combination and get
1.3 Problem 3.
Combinatorial proof of the identity. suppose some guy lets call him Schrödinger want to place \(r+1\) cats in \(n+1\) boxes one in each box (otherwise they will fight).he can do so while assuming all of them identical ,in total of
different ways.
but for some reason our guy dont like to do things in the normal way ,he want to put the "boxes inside the cats" he claim that we can look at the first box if we decide to put cat inside we left with \(r\) cats to split in the rest n boxes, on the other hand if we decide to not put cat inside it, we will have \(r+1\) cats to split in the rest boxes, hence
now lets look at the case he decide to leave the box empty and we still left with \(r+1\) cats to drop in \(n\) box and follow the same proses.
we can now follow the same prosses until we have \(r+1\) cats to place in \(r+1\) box, witch is equal 1.
now for some \(m\) lets look at the first and secound binomial coefficients of it
hence for \(r=2\) we will get the following equation
For general k lets use again the idea described above (with the cats), at first we will the smallest coefficients(1) and the secound will be \(r\) and so one while \(n{\gt}r+1\), so for general \(k\) we will find linear formula that nullify the coefficients of the formula polynomial
1.4 Problem 4
\(c(p,k)\equiv 0\)(mod p) when \(0{\lt}k{\lt}p\) is prime
first look at \(c(n,k)\) binomial form
under the assumption that p is the grateset prime that divde the following equation, so in total we get
and from the following claim we can immediately get
Fermat’s Little Theorem (FLT). \(b^p \equiv b\) (mod p) for any prime \(p\) and \(b \in F_p\)
At the base case for \(b=0\Rightarrow b^k=b\) witch hold \(b^k \equiv b\)(mod p)
now using the claim above and our indication for some \(b-1\) , we get
because \((b-1)^p\equiv b-1\) mod p
lets look at the following formula as the Multinomial theorem
"is a multinomial coefficient. The sum is taken over all combinations of nonnegative integer indices k1 through km such that the sum of all ki is n. That is, for each term in the expansion, the exponents of the xi must add up to n. Also, as with the binomial theorem, quantities of the form x0 that appear are taken to equal 1 ."
( from wikipedia )
Fermat’s Little Theorem (FLT). second proof
The summation above is summing over all sequences of nonnegative integers, lets express \(\alpha \) such as \(1 \leq \alpha \leq p-1\) as a sum of
\(1_s\) indicators to the power of \((1_1 + 1_2 + 1+ … 1_\alpha )^p\),we will get
for prime \(p\) and \(k_j \neq p\) for any j, we have
on the other hand for prime \(p\) and some \(k_j = p\), we have
from the way we express \(\alpha \) we know there is exactly \(\alpha \) of this \(k_j\) witch hold the theorem
Lets \(p\) be any prime \(p\neq 2\),for round a carousel of \(p\) chairs we looking for the different colouring way using \(b\) colors , first if all the chairs apper in a row we looking in total of \(b^p\) different colouring. there are \(b\) ways of colouring with the same colour , so we can claim now there is \(b^p - b\) ways to colouring chairs using at least 2 different colors. hence for prime \(p\) and some \(b\) using the "FLT" theorem we now that there is total \(p\) ways to route this carousel i.e \(b^p-b \equiv 0\) mod p.
and in total including the ways of couriering with only one color we get total
distinct ways of painting the chairs.
1.5 Problem 5
For \(n\) integers \(a_1, a_2, \dots an\), not necessarily distinct, lets look at the following \(n\) integers
now lets devide the by \(n\)
lets look at the \(i\) reminisces for each one of them such as \(0 \leq r_i \leq n-1 \forall i \in n\) we can look at the following as
if one of the \(r_i\) is 0 we done.
otherwise according to the Pigeon-hole principle three is some \(r_i=r_j\) lets say that \(i{\lt}j\) so by reducing them we will get
and we find him.