With the Giants losing 2-1 to the Phils today, the Dodgers' number to clinch a spot in the playoffs is now 20. With 28 games left in the season, any combination of 20 Dodger wins or Giants (or whoever is second in the wild-card) automatically gives them a playoff berth. As for the division, with Colorado's loss to the Mets today, the magic number to clinch the division is now 24. For more info on magic numbers click here.
Diamondbacks vs Dodgers coverage