- #1
JamesBwoii
- 74
- 0
Hi, I'm back with another question, but the opposite of last time.
The question is:
For each positive integer $n$, let ${L}_{n}$ = { ${a}^{k}$ $|$ $k$ is a multiple of $n$ }
Show that for each $n$ the language ${L}_{n}$ is regular. As far as I understand you cannot use pumping lemma to prove a language is regular.
I assume that leaves me with having to do a NFA, DFA or regular expression as I don't know where to begin to create one of those for this language.
Thanks!
The question is:
For each positive integer $n$, let ${L}_{n}$ = { ${a}^{k}$ $|$ $k$ is a multiple of $n$ }
Show that for each $n$ the language ${L}_{n}$ is regular. As far as I understand you cannot use pumping lemma to prove a language is regular.
I assume that leaves me with having to do a NFA, DFA or regular expression as I don't know where to begin to create one of those for this language.
Thanks!