How a late night TV show inspired John Lennon’s only solo No. 1 and how Elton John helped turn it into a chart topping hit.