Interaction effects on magnetooscillations in a two-dimensional electron gas