5 books
Besides the core books, pens, pencils, dice, and paper mentioned, I would choose:
Grim Tales
Unearthed Arcana
Arms and Armor 3.5
Second World Sourcebook
World's Largest Dungeon (I don't own this, but it is really big)
The original post specified D&D, but if d20 were generally...