Don Knotts particularly loved “The Pickle Story,” which is an episode many fans cite as their favorite. In it, Aunt Bee makes a huge batch of disgusting that Andy and Barney eventually must consume. The episode is chock full of laugh-out-loud moments, and it’s quite clear the actors were having a blast filming it.
It was composed by Earle Hagen and Herbert Spencer. That’s Earle you hear whistling the song himself on the show’s opening and closing credits. Everett Sloane composed the lyrics to the song, which were never used on the series. Andy Griffith actually made a record of the words to the song. You can hear it on YouTube.