31 different songs reached #1. Longest run: Say You, Say Me, 4 weeks in a row.
The numbers beside each song count the year's number ones in order. Weeks are counted from the Billboard Hot 100 charts dated in 1986.