closed by
565 views
0 votes
0 votes
closed with the note: Query resolved. It was my mistake

Consider the following DFA. The number of strings upto length 5 where first and last character of string is ‘a’ are __

The answer given is 4, but I'm getting 6.

closed by

Related questions

0 votes
0 votes
1 answer
1
jayadev asked Jan 7, 2022
875 views
follow method first draw dfa for ‘a’ always followed by ‘bb’ and reverse it
4 votes
4 votes
3 answers
2
0 votes
0 votes
2 answers
3
Sambhrant Maurya asked Sep 27, 2018
4,642 views
Construct a DFA over Σ=(a,b) so that it accepts all strings where 1) 2nd symbol from the right is 'a'2) 3rd symbol from the right is 'a'
1 votes
1 votes
1 answer
4
suraj patel asked May 30, 2018
648 views
find the DFA which accept strings such that 2nd symbol from RHS is $'a'$ .$w=\{a,b\}^*$