1)
Suppose we have k states and m input symbol
Num of ways to choose initial state = 1
Num of final states possible = 2^k (coz either choose or Not choose a state as final)
Num of different DFA with No final and no initial state : k^k*m
because let say input alphabet is a,b and for each alphabet dfa can go to any of the states.
so total num of such combination = Num of initial states * Num of different DFA with No final and no initial state * num of ways to select final state
=> 1 * k^k*m * 2^k
==> (2^k) (k^k*m)
2) I am gonna prove this by contradiction.
Let us assume a regular languuage L={w:w mod 3=0}
And suppose we want to fix the numer of state for this language to be less than fixed integer 2.
So if there will be a finite automata with less than or equal to 2 states which accept this language then the said claim is true and if not then its false(means we found a contradiction and we can not fix thenumber of states)
I am attaching an image of such DFA which accept the above language and there is no such dfa(with less than 3 states) possible which can accept this language.
Hence our claim is contradicted.
Hope it helps.
2. Count the number N(k) of all finite automata with exactly k states. Prove that in...
2. A Markov Chain with a finite number of states is said to be regular if there exists a non negative integer n such that for any i, J E S, Fini > 0 for any n-มิ. (a) Prove that a regular Markov Chain is irreducible. (b) Prove that a regular Markov Chain is aperiodic (c) Prove that if a Markov Chain is irreducible and there exists k E S such that Pk0 then it is regular (d) Find an...
2. A Markov Chain with a finite number of states is said to be regular if there exists a non negative integer n such that for any i, j E S, > 0 for any n 兀 (a) Prove that a regular Markov Chain is irreducible. (b) Prove that a regular Markov Chain is aperiodic. (c) Prove that if a Markov Chain is irreducible and there exists k e S such that Pk>0 then it is regular (d) Find an...
4. Here is a fact about permutations: (*) nPr= n!/(n-k)!, for all k =n. Let's prove this via mathematical induction for the fixed case k-3. 2 of 3 (i) Write clearly the statement (**) we wish to prove. Be sure your statement includes the phrase "for all n" (ii) State explicitly the assumption in (*) we will thus automatically make about k-2 (ii) Now recall that to prove by induction means to show that IfmPm!/lm-k)! is true for all km...
Problem 2: Recall that pi(n) denotes the number of integer partitions of n with exactly k parts. Show that Pk(n)an- m11 n20 Problem 2: Recall that pi(n) denotes the number of integer partitions of n with exactly k parts. Show that Pk(n)an- m11 n20
(c) contrapositive positiv 2. (a) Prove that for all integers n and k where n >k>0, (+1) = 0)+2). (b) Let k be a positive integer. Prove by induction on n that ¿ () = 1) for all integers n > k. 3. An urn contains five white balls numbered from 1 to 5. five red balls numbered from 1 to 5 and fiv
Prove that there exists infinitely many numbers of the form an = n(n+1)/2 , for some positive integer n, such that every pair an, am (for n != m) are relatively prime. [Hint: Assume there exists a finite sequence an1 < an2 < an3 < . . . < anm, where nj are increasing positive integers. Show that using those numbers we can construct a new number that fulfills the requirements.]
13. (i) For each of the following equations, find all the natural numbers n that satisfy it (a) φ(n)-4 (b) o(n) 6 (c) ф(n) 8 (d) φ(n) = 10 (ii) Prove or disprove: (a) For every natural number k, there are only finitely many natural num- bers n such that ф(n)-k (b) For every integer n > 2, there are at least two distinction integers that are invertible modulo n (c) For every integers a, b,n with n > 1...
3. (20 pts) Let ụ be a finite set, and let S = {Si, S , S,n} be a collection of subsets of U. Given an integer k, we want to know if there is a sub-collection of k sets S' C S whose union covers all the elements of U. That is, S k, and Us es SU. Prove that this problem is NP-complete. 992 m SES, si 3. (20 pts) Let ụ be a finite set, and let...
Ok = (6) Let n be a positive integer. For every integer k, define the 2 x 2 matrix cos(27k/n) - sin(2nk/n) sin(2tk/n) cos(27 k/n) (a) Prove that go = I, that ok + oe for 0 < k < l< n - 1, and that Ok = Okun for all integers k. (b) Let o = 01. Prove that ok ok for all integers k. (c) Prove that {1,0,0%,...,ON-1} is a finite abelian group of order n.
Exercise 1.6.4: Prove the following by induction: (a) “k - n(n+1)(2n +1) k= 1 (b) If n > 1, then 13-n is divisible by 3. (c) For n 3, we have n +4 <2". (d) For any positive integer n, one of n, n+2, and 11+ 4 must be divisible by 3. (e) For all n e N, we have 3" > 2n +1. ()/Prove that, for any x > -1 and any n e N, we have (1+x)" 21+1x.