282 views
1 votes
1 votes

For a binary string x = a0a1 · · · an−1 define val(x) to be the value of x interpreted as a binary number, where a0 is the most significant bit. More formally, val(x) is given by
How many minimum states will be in a finite automaton that accepts exactly the set of binary strings x such that val(x) is divisible by either 4 or 5.

1 Answer

0 votes
0 votes
Please tell the concept of solving this problem

Related questions

0 votes
0 votes
0 answers
1
RahulVerma3 asked Apr 2
54 views
Is this the correct Turing machine for the language $0^n 1^n0^n$?assuming $ at the end and begining of the input tape
0 votes
0 votes
0 answers
3
baofbuiafbi asked Nov 14, 2023
162 views
Prove the language L={(G,H)|G is a CFG, H is a DFA, and L(G)∩L(H)=∅} is undecidable.