When Rebecca confesses to Ted that she and Sam were seeing each other - Ted replies that Sam and Rebecca are one of his favorite couples in a reference to Cheers.
The book Coach Beard is reading is *Entangled Life: How Fungi Make Our Worlds, Change Our Minds & Shape Our Futures* by Merlin Sheldrake.
Dr. Sharon's last line- "son of a b###h stole my move" is an allusion to Good Will Hunting when Dr. McGuire (Robin Williams) says a similar thing (stole my line) about Will.
At 37:44, Dr. Sharon uses "SMF" as her video-game high score initials. She explains that they mean "sexy mother******". Ted says, "Rest in peace, Mr. Nelson." "Sexy MF" is the second track on the 1992 "Love Symbol" album by Prince and the New Power Generation, and Prince's full name is Prince Rogers Nelson.
When the team is rehearsing NSYNC's "Bye Bye Bye" choreography, Ted has to leave Coach Beard in charge who then responds with "It's gonna be me." This is also the title of an NSYNC song.