The idempotents of the symmetric group and Nakayama's conjecture