Deprecated: Implicit conversion from float-string "1522606088.836" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1522606088.836" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1522606088.836" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1522606088.836" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1522606088.836" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1543305353.897" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1543305353.897" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1543305353.897" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1543305353.897" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1543305353.897" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1573704021.745" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1573704021.745" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1573704021.745" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1573704021.745" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1573704021.745" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1597575885.964" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1597575885.964" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1597575885.964" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1597575885.964" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1597575885.964" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1603091388.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1603091388.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1603091388.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1603091388.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1603091388.903" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1605335279.870" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1605335279.870" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1605335279.870" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1605335279.870" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1605335279.870" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
Theory of Computation: TIFR CSE 2018 | Part B | Question: 12
retagged by
2,075 views
9 votes
9 votes

Consider the following statements:

  1. For every positive integer $n,$ let $\#{n}$ be the product of all primes less than or equal to $n.$
     Then, $\# {p}+1$ is a prime, for every prime $p.$
  2. $\large\pi$ is a universal constant with value $\dfrac{22}{7}.$
  3. No polynomial time algorithm exists that can find the greatest common divisor of two integers given as input in binary.
  4. Let $L \equiv \{x \in \{0,1\}^{*}\mid x \text{ is the binary encoding of an integer that is divisible by 31}\}$
    Then, $L$ is a regular language.

Then which of the following is TRUE ?

  1. Only statement (i) is correct.
  2. Only statement (ii) is correct. 
  3. Only statement (iii) is correct.
  4. Only statement (iv) is correct. 
  5. None of the statements are correct.
retagged by

1 Answer

Best answer
9 votes
9 votes

π is not equal to 22/7

https://math.stackexchange.com/questions/93222/is-22-7-equal-to-the-pi-constant

For (i), consider $n=9$. Now, we get product of primes less than $9$ as $\#n = 2\times 3\times 5\times 7\times 9 = 1890.$ Now $\#n+1 = 1891$ is not a prime as $1891 = 31 \times 61.$  (This example might be difficult to arrive during exam, but this option could have been eliminated by good intuition or by seeing that other there are better other options).

We can construct dfa for binary string divisible by 31 

https://stackoverflow.com/questions/21897554/design-dfa-accepting-binary-strings-divisible-by-a-number-n

Option 4

selected by
Answer:

Related questions

979
views
1 answers
4 votes
Arjun asked Dec 10, 2017
979 views
$G$ respresents an undirected graph and a cycle refers to a simple cycle (no repeated edges or vertices). Define the following two languages.$\text{SCYCLE}=\{(G,k)\mid G ...
3.5k
views
3 answers
13 votes
Arjun asked Dec 10, 2017
3,536 views
Define the language $\text{INFINITE}_{DFA}\equiv \{(A)\mid A \text{ is a DFA and } L(A) \text{ is an infinite language}\},$ where $(A)$ denotes the description of the det...
2.6k
views
2 answers
12 votes
Arjun asked Dec 10, 2017
2,551 views
Consider the language $L\subseteq \left \{ a,b,c \right \}^{*}$ defined as$L = \left \{ a^{p}b^{q}c^{r} : p=q\quad or\quad q=r \quad or\quad r=p \right \}.$Which of the f...
1.7k
views
1 answers
8 votes
Arjun asked Dec 10, 2017
1,659 views
An $n \times n$ matrix $M$ with real entries is said to be positive definite if for every non-zero $n$-dimensional vector $x$ with real entries, we have $x^{T}Mx>0.$ Let ...