GATEverse
← GATE CSE 2025 Set 2

Q50

NAT2 marks

Let Σ={1,2,3,4}\Sigma=\{1,2,3,4\}. For x∈Σ∗x \in \Sigma^{*}, let prod⁡(x)\operatorname{prod}(x) be the product of symbols in xx modulo 7. We take prod⁡(ϵ)=1\operatorname{prod}(\epsilon)=1, where ϵ\epsilon is the null string. For example, prod⁡(124)=(1×2×4) mod 7=1\operatorname{prod}(124)=(1 \times 2 \times 4) \bmod 7=1. Define L={x∈Σ∗∣prod⁡(x)=2}L=\left\{x \in \Sigma^{*} \mid \operatorname{prod}(x)=2\right\}. The number of states in a minimum state DFA for LL is __________ . (Answer in integer)

Sign in to save attempts.

Loading…