Both are fine. I suppose you could say that "one" feels slightly more formal. In conversation people probably tend towards "a" because it is easier to say.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.