I'd advise blue, in my opinion, at least. Yellow fixed some glitches exclusive to R/B. And if you're looking for glitches, you're gonna find less in yellow.
But the thats just what I'm saying.
You do realize that while Yellow did
fix several glitches, a lot of them got replaced, right?
For example, the Old Man Trick was fixed... but the LRT glitch works essentially the same in the end (encounter Pokemon of choice)