The Nifty 50 gained just 13 points, or 0.05%, to settle at 24,583.80, while the Sensex edged up 43 points, or 0.06%, to close at 78,542.44