how was this album inspired?
In November, during Lennon and Evans' return flight from Kenya, McCartney had an idea for a song that eventually formed the impetus of the "Sgt. Pepper" concept
Sgt. Pepper's Lonely Hearts Club Band
On his return to London, Lennon embraced the city's arts culture, of which McCartney was a part, and shared his bandmate's interest in avant-garde and electronic-music composers such as Karlheinz Stockhausen, John Cage and Luciano Berio.

In November, during his and Evans' return flight from Kenya, McCartney had an idea for a song that eventually formed the impetus of the "Sgt. Pepper" concept.
beatles song a day in the life lyrics written by John Lennon, with Paul McCartney when was this song released? 1967 what was the name of the album that it was a part of? "Sgt. Pepper's Lonely Hearts Club Band"
wiki:13407144
Sgt. Pepper's Lonely Hearts Club Band [SEP] Inspiration and conception
Pepper", adding that "[we] nicked a few ideas", although he felt it lacked the avant-garde quality he was seeking. "Freak Out!" by the Mothers of Invention has also been cited as having influenced "Sgt. Pepper". According to the biographer Philip Norman, during the recording sessions McCartney repeatedly stated: "This is our "Freak Out!"" The music journalist Chet Flippo stated that McCartney was inspired to record a concept album after hearing "Freak Out!"