- #1
milena24
- 9
- 0
Homework Statement
Prove or Disprove L is regular, where
L = {0[tex]^{i}[/tex]1[tex]^{j}[/tex] | (i[tex]^{2}[/tex] + j[tex]^{2}[/tex]) is square}
Homework Equations
N/A
The Attempt at a Solution
I tried using pumping lemma, but I don't know how to assign p if there are two variables (i and j)...
I understand the i[tex]^{2}[/tex] + j[tex]^{2}[/tex] would be like pythagorean theorem, but I cannot relate the pumping lemma given I've been provided two distinct variables...
Can anyone help and guide me? I am not asking for a full solution, instead a bit of a kickstart