Higher math scores were related to greater sleep quality, less awakenings and increased sleep efficiency.