The Gateway to Computer Science Excellence
+2 votes

C = {ak | k is multiple of n }. Then how to show that for each n>=1, the language C is regular.

in Theory of Computation by Active (2.2k points)
edited by | 60 views

1 Answer

0 votes

we put n equal to 1 . now we can take any value of k and it is always multiple of 1. so regular expression become a*. which is regular.

by Boss (35.3k points)
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,666 questions
56,131 answers
93,304 users