let's have these two languages in the alphabet $\{a,b,c\}$:
$L_1 = \{ w \mid w \text{ is a palindrome and $|w| < 200$}\}$
$L_2 = \{ w \mid w \text{ is a suffix of $u$ and $|u|$ is a prime number and $u$ doesn't contain a $c$}\} $
and I have to prove that $L_1 ∪ L_2$ is regular.
So my idea is I have to prove both languages are regular and therefore their union would be regular. $L_1$ is obviously regular since it's finite. I also know that the language consisting of all suffixes of words from a regular language is also regular, so I narrowed it down to proving that
$L = \{w \mid |w| \text{ is a prime number and $w$ doesn't contain a $c$}\}$
any ideas on that one? Thanks in advance.