Why do some songs stick in our heads for infuriatingly long periods of time? According to the first large-scale study of its kind, it’s all about their combination of upbeat tempos, easy-to-remember melodies, and a little something unexpected. The new research looked at some of the most popular songs with this “stick factor”—and gives advice…

