Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
regular expression for mod 3 =1
bushez
asked
in
Theory of Computation
Dec 30, 2018
recategorized
Dec 30, 2018
by
MiNiPanda
2,773
views
0
votes
0
votes
someone can help me found the regular expression of
L={σ×w, σϵ∑={a, b},#σ(w)mod 3 = 1}
tnx.
regular-expression
bushez
asked
in
Theory of Computation
Dec 30, 2018
recategorized
Dec 30, 2018
by
MiNiPanda
by
bushez
2.8k
views
answer
comment
Follow
share this
share
3 Comments
by
Shaik Masthan
commented
Dec 30, 2018
reply
Follow
share this
can you write your language clearly, i didn't understood your language,
you may enumerate the strings of your language.
0
0
by
bushez
commented
Dec 30, 2018
reply
Follow
share this
i need to find the regular expression of all the a,b that with give me mod 3 = 1
like : 1,4,7,10,,,,,,,,
(a+b) + (bb + aa)(ab+ba).....
0
0
by
Shaik Masthan
commented
Dec 30, 2018
reply
Follow
share this
then check
(a+b).[ (a+b).(a+b).(a+b)]*
1
1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
look its always better that you should form the automata first then reduce it to the regex.
further as pointed out the regex will be { ( a+b) (a+b) (a+b) }* (a+b)
rballiwal
answered
Dec 30, 2018
by
rballiwal
comment
Follow
share this
1 comment
by
bushez
commented
Dec 30, 2018
reply
Follow
share this
thank you both all good
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
Rahhhhhul
asked
in
Theory of Computation
Jun 12, 2023
819
views
Give a regular expression for L = {a^nb^m: n ≥ 1,m ≥ 1,nm ≥ 3}.
Rahhhhhul
asked
in
Theory of Computation
Jun 12, 2023
by
Rahhhhhul
819
views
regular-expression
regular-language
regular-grammar
theory-of-computation
0
votes
0
votes
1
answer
2
Hemant jha
asked
in
Theory of Computation
Dec 25, 2022
717
views
find all strings of lenght 4 less, for the following regular expression (a*b + b*a)
Hemant jha
asked
in
Theory of Computation
Dec 25, 2022
by
Hemant jha
717
views
theory-of-computation
regular-expression
strings
0
votes
0
votes
1
answer
3
sripo
asked
in
Theory of Computation
Oct 10, 2018
692
views
Automata for given Regular Expression
Can you please draw the DFA for given regex (ab*)*
sripo
asked
in
Theory of Computation
Oct 10, 2018
by
sripo
692
views
theory-of-computation
regular-expression
finite-automata
regular-language
expression
0
votes
0
votes
0
answers
4
doaa
asked
in
Theory of Computation
May 13, 2018
438
views
what is the regular expression and design dfa and nfa for arthimatic expression
doaa
asked
in
Theory of Computation
May 13, 2018
by
doaa
438
views
finite-automata
theory-of-computation
regular-expression
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy