The Gateway to Computer Science Excellence
0 votes
122 views
the minimal finite automata accepting the set of all strings over { 0, 1} starting with 1 that interpreted as the binary representation of an integer are congruent to 0 modulo 5 has  ______ states.
in Puzzles by (17 points) | 122 views
0
7states.
0
It must be 7 states.

A minimal DFA which accepts strings divisible by 5 contains 5 states.

In the first production you have to add a dead state for transition on 0 and the first state would have transition 1 going to the next state and the rest is as usual for 0mod5.

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,597 answers
195,837 comments
102,140 users