A Mysterious Math Doodle

Mathematicians gossip too. Part of the letter John Herschel wrote to Charles Babbage contains a little puzzle no one figured out: