# All Week Solutions | 0-12

## Week 0

**1. If f(x)=2x+20/x-2 ,g(x) = 2x-3 , then f(g(3)) is ****c. 26**

**2. How many three digit numbers greater than 500 can be formed using numbers 1,3,5,7,9, without repetition?****b.** **36**

**3.** **The coefficient of x ^{4}y^{2} in the expression (4x^{2}y+24^{)3}is equal to**

**b.**

**1152**

**4. Let π be set of prime numbers and π be set of integers, then π β© π will be?****c. π β© π = {2,3,5,7,11,13,17,19β¦β¦.}**

**5.** **Which of the following is an empty set?****a. {x: x is a even prime greater than 3}**

**6. Which of the following is a rational number(s)?****d.** **β64/β25**

**7.** **A dice is thrown in the air. The probability of getting odd numbers is****a.** **1/2**

**8.** **The sum of two numbers is 27 and the product is 182. The numbers are:****c. 13 and 14**

**9. Let f:RβR be defined by**

**f(x)={ 2x : x>3 ; x ^{2} : 1<x<3 ; 3x : x <=3}**

**Then f(β1)+f(2)+f(4)****a.** **9**

**10. If x + 1/x = 2, then what will be the value of x ^{7}+1/x^{7}?**

**b. 2**

## Week 1

**1. In how many ways the word βPATHOGENβ can be arranged such that letter O always comes to the left of K.**

**c. 20160**

**2. Rahul has 7 differently colored shirts, 5 different jeans, 2 pairs of shoes and 3 different caps. In how many ways can Rahul dress up before going to a party?**

**c.** **210**

**3. In how many ways can the word βDOCUMENTATIONβ be arranged so that all the consonants come together?**

**d.** **6!/2!Γ7!/(2!Γ2!)**

**4. A question paper consists of 20 questions, having 2 parts. Each part consists of 10 questions. Students have to answer 12 questions in total, of which at least 4 questions should be from part 1 and at least 4 questions from part 2. In how many ways can the student select questions?**

**c. 123480**

**5. What is the coefficient of the 6 ^{th} term in the expression ( 5x^{4}/13 β x^{3 }/2 )^{7}**

** b. -525/5408**

**6. Which of the following is NOT an application of catalan numbers?**

** b.** **Counting the number of ways in which a person can choose a red ball from a bag containing 10 black balls, 5 red balls and 15 blue balls.**

**7. There are 2 vacant positions for the president and a vice president of a club. The post can be given to any of the 50 members of the club and a member can take more than one cabinet position. In how many ways can the 2 vacant positions be filled?**

**a.** **50 ^{2}**

**8. A bag contains five black balls, seven white balls, and nine red balls. The number of ways in which three balls can be drawn from the bag so that all the three drawn balls will have different colors is**

**d.** **315**

**9. What is the total number of paths from (-3,-2) to (5,6) without crossing the line passing through (-3,-2) and (5,6) (i.e., without crossing the diagonal)?**

**d.** *4862*

**10. Evaluate ( ^{20}C_{4}Γ^{21}P_{2}) / ^{100}C_{99}**

**b. 20349**

## Week 2

**1. If A and B are sets and A βͺ B = A β© B, then which of the following is(are) true?**

**c. A = B**

**2. If A = {3,3,4,5,6,6,9}, B = {{5,9},12,{1,{x,y}},{a,b,c}}, C = {Ο}, X = {x,y,z} and Y = {A,B}. Which statement is true?**

**b. Cardinality of B is 4**

**3. Let A = {3,5,6,7,8,9}, B={2,4,5,11,14} and C = {-1,0,1}. Which of the following is not a disjoint set?**

**d. A and B**

**4. Let set A = {4,5,6,7,9} and P(A) denote the power set of A. What is the cardinality of P(P(A))?**

**b.** **2 ^{32}**

**5. Let A ={x | x β Z; -2 β€ x β€ 5} and B ={ x | x β N; x is a prime number}, what is AβB?**

**c. {-2,-1,0,1,4}**

**6. In a group of 120 people, 50 people love to eat dairy milk chocolate, 70 people love to eat Kitkat, and 20 people do not like any type of chocolate. How many people love to eat both types of chocolate?**

** a.** **20**

**7. Which of the following pairs of sets are equal?**

**c.** **A = {-2,-3}, B = {x: x is a Solution of x2+5x+6=0x2+5x+6=0}**

**8. Suppose A = {1,2,3,4}. How many subsets of 2 distinct elements are possible?**

**b.** **6**

**9. Simplify (A ^{c}β©B^{c})^{c }βͺ B**

**d.** **A ^{c} βͺ B**

**10. The set O of odd positive integers less than or equal to 10 is**

**b. {1,3,5,7,9}**

## Week 3

**1. Let p: Ram likes ice cream or Sudha likes toffee, Negation of the statement p is?**

**a.** **Ram does not like ice cream and Sudha does not like ice-cream**

**2. Which of the following statement(s) is/are true?**

**I. The sentence, βRajesh is a hardworking manβ – is a statement****II. 9 is not a prime number****III. Cardinality of π΄ βͺ π΅ is 5, where, π΄={1,2,3} π΅={2,7,8}**

**b. I , II and III**

**3. If A is any statement, then which of the following is a tautology?**

**b.** **A β¨ Β¬A**

**4. βIt is not that I don’t like travellingβ, said Reena, what does Reena mean?**

**a.** **Reena likes travelling less frequently**

**5. (p β r) β¨ (q β r) is logically equivalent to**

**d. (p β§ q) β r**

**6. (Β¬p β» q) β¨ ( Β¬q β§Β¬p) is equivalent to**

**c.**** **Β¬p β» q

**7. If the truth value of s is True, where s is Β¬((Β¬q β§ Β¬p) β p) then the truth value of p and q are respectively?**

**a. F , F**

**8. Β¬(p β¨ q) β¨ (Β¬p β§ Β¬q) is logically equivalent to**

**d. Β¬p β§ Β¬q**

**9. What can we infer from the below statement? q: Gautam will go for a long drive to Mahabaleshwar or he will play cardsr: Gautam did not go to Mahabaleshwar**

**b.** **Gautam will play cards**

**10. If (Β¬p β Β¬q) is false then what is the truth value of p and q?**

**c. F , T**

## Week 4

**1. Which of the following matrices represent a reflexive relation**

**2. A = {srijit, akash, abhi} and B = {shraddha, sanchita} Which of the following subsets belong to A Γ B?**

**a. {(srijit, sanchita), (abhi, shraddha), (akash, sanchita), (srijit, shraddha)}**

**3. What is the total number of reflexive relations of the set {5,7,13,15}?**

**d.** **4096**

**4. S = {1,2,3,4,5}. A relation R on set S is defined as R = {(b,a) | 0 β€ βa + b β€ 3} What is the cardinality of set R?**

**c.** **14**

**5. Let π
be a relation on a collection of sets defined as follows,π
= {(π΄,π΅) | π΄ β π΅}Which of the following statement(s) is/are correct?**

**a. π
is reflexive and transitive**

**c. π
is anti-symmetric**

**6. Let a relation π
be defined as π
= {(π΄, π΅) | Both π΄ and π΅ live in the same city}. Pick out the correct statement(s).**

**b. π
is reflexive**

**c. π
is transitive**

**d. π
is symmetric**

**7. Which of the following is an equivalence relation?**

**b. π
= {(π₯,π¦) | π¦ β π₯ = 0}**

**8. Suppose the cardinality of a set A is 4 and the cardinality of a set B is 3, what are the cardinalities of the cartesian product A Γ B and the power set of A Γ B?**

**c. 12 and 4096**

**9. Which of the following collection of subsets is a partition of π΄ = {1,2,3,4,5}?**

**d. {1,2}{5}{3,4} **

**10. Let π΄ be a set with cardinality π, and π΅ be a set with cardinality π. There are a total of 64 symmetric relations on π΄, and 216 anti-symmetric relations on π΅. What is π Β· π?**

**a. 9**

## Week 5

**1. Which of the following is(are) true for the given function?****f: R β R f(x)=x^{2}+**

**2 where**

**,**

**R is a set of real number**

**a. π is not injective**

**d. π is not surjective**

**2. Consider the following table:**

**We can think of this as a function π from the set of students to the set of integers between 160 and 170. Now pick out the correct statement from the following.**

**d. π is neither one to one nor onto**

**3. Let π: π
βπ
such that f(x)=x/2+7**

**b.** **π is bijective**

**4. If a function is defined as π(π₯)=2π₯+15 then the value of f ^{-1}(25) is**

** b. 5**

**5. Set πΆ has cardinality π and a total of 5040 bijective functions. What is the value of π ^{2}**

**?**

**d. 49**

**6. find the domain and range of the following real-valued function. f(x)=β(3βx)**

**d. ****domain= {π₯ β R | π₯ β€ 3}range=**

**{π₯ β R | π₯ β₯ 0}**

**7. If π and π are function from π
to π
and π(π₯)=3π₯ ^{2}+π₯β13 and π(π₯)=20/(3π₯+8) then πoπ (12) is.**

**c. β1443/121**

**8. Let us define a function π: ZβZ as follows,f(x)= {x/2 if x is even, 0 if x is oddZ is a set of integers.**

**a. onto but not one-to-one**

**9. The relation π
is defined as π
= {(x, y): π₯, y β N, π₯ + y = 5} then the range is?**

**d. {1,2,3,4}**

**10. Let π΄ be set with cardinality π and set π΅ with cardinality π, there are a total of 3024 one to one function from π΄ to π΅, what are the values of π and π respectively?**

**b. 4 and 9**

## Week 6

**1. There are n people in a town, having the length of their name greater than 3. What is the number of people in the town such that you are guaranteed to find at least two people with the same second alphabet in their name?**

**d. 27**

**2. Given a set of integers from 51 to 250, { 51, 52, 53,……,250}. What is the least number of integers that can be selected such that any two of the chosen integers are consecutive?**

**We can think of this as a function π from the set of students to the set of integers between 160 and 170. Now pick out the correct statement from the following.**

**b. 101**

**3. Which of the following statements is FALSE?**

** b. n ^{2}> 2n+1 β n β Z**

^{+}

**4. Is the given inequality true? 2 ^{n} < n ! β nβN**

** b. No**

**5. A black-coloured (opaque) bag contains 15 red gloves and 15 green gloves, Krishna takes out one glove at random each time. How many gloves must he take out to be sure that he has at least 2 red gloves?**

**a. 17**

**6. How many of the following statements are true?**

**c.** **2**

**7. For positive integer n, **

**10 ^{n-2 }> 81n, if**

**d. nβ₯5**

**8. A basket containing 60 walnuts was kept in the veranda, and 10 squirrels randomly came and took away some walnuts. After some time, the gardener found the basket empty. Which of the following conclusions is always true for the above-given situation?**

**b.** **At most one squirrel went back with at least 6 walnuts**

**9. State whether the following statement is True/False: For all nβN, 6 ^{n}β1 is a multiple of 5.**

**a. True**

**10. Madhu, Anushka, and Prasad bought a White Chocolate consisting of π blocks, the chocolate is distributed equally among all the three members. Madhu likes to enjoy the chocolate, having it one block at a time. How many total breaks does Madhu require to finish her share of chocolate?**

**d. **n/3 β 1

## Week 7

**1. Which of the following graphs are not complete graphs?**

**2. What is the degree sequence of the given graph?**

**c.**** **β¨4,4,3,3,3,5,2β©

**3. What are the cut edge and the cut vertex respectively, in the following graph?**

**c. (π΅, πΈ) and πΈ**

**4. The number of components in a πΎ _{n} and πΆ_{n} respectively are?**

**d. 1,1**

**5. Which of the following is a graphic sequence?**

**a**.** 5,3,3,2,2,1**

**6. Which of the following is not a path from A to H?**

** **

**a. {π΄ β π΅ β πΈ β πΉ β πΊ β π»}**

**d. {π΄ β πΉ β πΆ β π΅ β πΈ β π· β πΆ β π»}**

**f. {π΄ β π»}**

**7. If an edge is removed from a cycle in a graph, then the graph becomes disconnected.**

State whether true/false.

**b. False**

**8. For a simple graph with vertices, how many subgraphs can be constructed, such that the subgraph is an induced subgraph as well as a spanning subgraph?**

**a. 1**

**9. Observe the following graph.**

**Choose the correct option(s) from below.**

**a. {π· β πΈ β πΉ β πΊ β πΆ β π·} is a cycle**

**b. {π» β π΅ β π· β πΆ β πΊ β πΉ β π· β π΄} is a trail**

**e. {π΄ β π΅ β π· β πΆ β πΊ β πΉ β π· β π΄} is a circuit.**

**10. Which of the following statements is/are true?**

** I) If there is a walk from P to Q then, there must be a path from P to Q.**

** II) The number of edges in a tree is equal to one less than the number of vertices.**

**III) Every graph has an odd number of oddβdegree vertices.**

**d. I and II**

## Week 8

**1. What is the number of colors required to color a complete graph containing n vertices?**

**d. n**

**2. Which of the following graphs does not have a Eulerian circuit?**

**3. What is the number of edges for a connected planar graph having 8 vertices, and 6 regions?**

**a. ****12**

**4. Which of the following graphs can be concluded to be Hamiltonian?**

**a. A graph with the number of edges of every node, greater than π/2 **

**d. k _{6}**

**5. Find the total number of edges in the complement graph πΊπ , where πΊ has 12 vertices and 34 edges.**

**b. 32**

**6. Which of the following statement(s) is/are true?**

**I) We can find a tree that is not planar.**

**II) We can conclude that a graph is connected if the degree of all the vertices is **

**greater than equal to π/2.**

**III) Given a graph G, there is a cycle of length π and π is less than equal to nπ, then we can find a path of length at least π+1.**

**d. II and III**

**7. A graph where we can traverse through all the vertices, without repeating edges or vertices more than once is called?**

**c. Hamiltonian graph**

**8. State whether true/false: A bipartite graph can have an odd cycle.**

**b. False**

**9. What is the cardinality of the set of edges of the complement of a complete graph πΊ having 5 vertices?**

**c. 0**

**10. What is the chromatic number of the graph given below respectively?**

**d. **** 3,3**

## Week 9

**1. What is the closed-form expression of the generating function for the sequence: 7,0,7,0,7,0β¦β¦?**

**c. 7/ (1-x ^{2})**

**2. What is the coefficient of π₯ ^{4} in (1βx)^{-5}?**

**a. 70**

**3. What is the sequence in the generating series for the expression 5x ^{2}+10x^{3}+15x^{4}+20x^{5}+β―?**

**d. 0, 0, 5, 10, 15, 20,…**

**4. What is the generating function of the sequence 0, 1, 2, 3, 4, β¦…….?**

**a. Derivative of the function (1+x+x ^{2}+x^{3}+x^{4}+β―)**

**5. In how many ways can 200 players be distributed among 10 teams, so that each team gets at least 7 players and not more than 12?**

**d.**** ****The coefficient of π₯ ^{200} in (x^{7}+x^{8}+x^{9}+x^{10}+x^{11}+x^{12})**

^{10}

**6. How many 5 lettered words can be formed from the following words, given that you have to pick one letter per line?**

**b. 6**

**7. A bag contains several blue, green, purple and yellow candies, in how many ways can Amit eat 8 candies from these blue, green, purple and yellow-colored candies?**

**b. 165**

**8. Find the closed form expression of the generating function for the sequence: 1, 11, 121, 1331, 14641β¦β¦?**

**b. 1/(1β11x)**

**9. State whether true/false:(1+π₯) ^{6} is the generating function for the sequence:(6/0), (6/1), (6/2), β¦, (6/5), (6/6),0,0,**

**0,**β¦

**a. True**

**10. The sequence generated by the function (x+1)/(1βx) ^{3} .**

**c. 1^{2}, 2^{2}, 3^{2}, 4^{2}, 5^{2} ,β¦**

## Week 10

**1. How many positive integers between 1 and 1000, (including both 1 and 1000) are not divisible by 3, 5, and 7?**

**d. 457**

**2. How many onto functions are possible from a set of 9 elements to a set of 4 elements?**

**c. 186480**

**3. In how many ways can integers from 1 to 10 be arranged such that no prime number is at its natural place?**

**4. In a 3 Γ 3 chessboard:I) One rook can be placed in 9 ways.II) Two rooks can be placed in (9/2) ways such that they do not kill each other (nonβtaking rooks).III) Three rooks can be placed in 6 ways such that they do not kill each other (nonβtaking rooks).**

**Which of the following statements are true?**

** b. I and III**

**5. How many integer solutions are there for the equation π₯+π¦+π§=18, **

**where, π₯<5,π¦<9,π§<7 ?**

**a.**** **1

**6. |A|=10, |B|=20, |C|=30, |Aβ©B|=4, |Bβ©C|=5, |Aβ©C|=6, ββ|Aβ©Bβ©C|=7, then |π΄βͺπ΅βͺπΆ| is**

**b. 52**

**7. A basketball team has 7 players, each having distinct names. Every player has a jersey with their names on the back of it. If the jerseys are lying in the changing room, turned inside-out. In how many ways can the players wear them so that no one wears the jersey of their name (each one wears someone else’s jersey)?**

**c. ****1854**

**8. In a class of 120 students, 67 students like Mathematics and 86 students like Physics, while 53 students like both the subjects. What is the total number of students who like neither of the two subjects?**

**b. **20

**9. In how many ways can 5 tigers, 5 lions, and 5 elephants marchβpast, in the same row, such that no consecutive 5 animals of the same family are together?**

**10. For some Greek alphabets πΌ, π½, πΎ, πΏ,β¦ (π β 1)th alphabet, (π)th alphabet, there are 491310 derangements, where πΌ, π½, πΎ, πΏ, π, π appear in the first 6 positions. What is the value of π ?**

**d. 13**

## Week 11

**1. Which of the following are true?**

**500n ^{2} < 1500n**

**5000n ^{2} > n^{3}**

**300n > 3n ^{2}**

**999n ^{2} < 9n^{3}**

**d. 999n ^{2} < 9n^{3}**

**2. How many n-bit binary strings are possible without having consecutive ones?**

** c. **T(n)=T(nβ1)+T(nβ2) such that T(1)=2 and T(2)=3

**3. Let a**_{n}** be a sequence that satisfies the recurrence relation a**_{n}**= 20a**_{n}_{-1}**β 25a**_{n}_{-2} where a_{0}=4 and a_{1}=14. What are a_{3} and a_{4} respectively?

**b. ** 3250, 60500

**4. Which of the following statement(s) is/are true?**

**I) The solution for the tower of Hanoi is 2 ^{n} – 1.**

**II) The recurrence relation for the tower of Hanoi is π(π)=2π(πβ1) + 1 for T _{1} = 1.**

**III) Complexity of tower of Hanoi is n ^{2}.**

** c. **I and II

**5. Which of the following sequence is correct?**

**a. O(log(n)) < O(log(n2)) < O(n) < O(nlog(n))<O(n2)**

**6. Given the sequence {0, 1, 1, 2, 3, 5, 8, 13……} find is the 23rd term this sequence.**

**d. 28657**

**7. Paras is reading a novel that consists of 1000 pages. While he reads the book, his dad calls him for some work. Being in a hurry, he forgets to put the bookmark on the page he was reading, though he remembers the page number. How much minimum effort would Paras require to get back to the page that he last visited, if he uses an efficient searching technique?**

**c. log(1000)**

**8. Which of the following is the correct recurrence relation for climbing 20 stairs? Climbing stairs simply means walking on stairs, covering one stair in one step.**

**d. a_{20} = a_{18} + a_{19}**

**9. What can we say about the following function?**

** c. f _{4}(n) is an order n^3 function d. f_{2}(n) and f_{3}(n) grow slower than f_{1}(n)**

**10. What is the solution of the recurrence relation a _{n}= 3π_{(n-1)}β10π_{(n-2)}? given that a_{0}=1 and a_{1}=2.**

## Week 12

**1. Which of the following are true?**

**(Z,Γ) is a group**

**(Z,+) is not a group**

**(Q,Γ) is a group**

**(Z,β) is not a group**

**(R,+) is a group**

**d.** **(Z,β) is not a group**

**e. **(R,+) is a group

**2. Let T be a group of 100 elements, what is the largest possible subgroup of T other than T itself?**

**a. 50**

**3. The generating function for odd partitions of x is:**

**4. For a path graph of P _{7}, in how many ways can you color this graph with 4 colors so that no two adjacent nodes have the same color?**

**b. 2916**

**5. What are the elements of Z _{7}, i.e., integer modulo 7?**

**c. {0, 1, 2, 3, 4, 5, 6}**

**6. Which of the following statement(s) is/are true? I) The operations of a group and its subgroup can be different. II) (Q, +) is a subgroup of (R, +)III) A group under addition modulo n, where n is prime, cannot have a subgroup except for a trivial subgroup identity element alone.**

**a. II and III**

**7. State whether true/false:π _{d}(π) is the coefficient of π₯^{n} in the function (1+x)(1+x^{2})(1+x^{3})β¦β¦..(1+x^{n})**

**a. True**

**8. Let A be a group with 70 elements. Then A cannot have a subgroup of cardinality**

**c. 20**

**9. (Z _{6},+) is a group, what is the inverse of 4 in this group?**

**b. 2**

**10. Given a complete graph with 11 vertices, in how many ways can you color this graph such that no two adjacent vertices have the same color? You are given 26 colors.**

**c. C(K _{11})=26Γ25Γ24Γβ¦Γ16**