The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
Design DFA for L={a^n such that n is a multiple of 3 but not 5}
asked in Theory of Computation by (201 points) | 46 views

1 Answer

+2 votes
Best answer

The above problem could be solved using the concept of cross product.

(As far as i have understood

  1. if n=0, it should be rejected as 0 is a multiple of 5.
  2. if n=3, it should be accepted as 3 is a multiple of itself.
  3. if n=5, it would be rejected.
  4. if n=15, then also it would be rejected.)

answered by Active (3.5k points)
selected by

Related questions

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

47,139 questions
51,388 answers
66,699 users