“I started writing while I was sitting at the piano, going ‘na na na na, na na na na ...’ ” Mr. Leka told Fred Bronson, the author of “The Billboard Book of Number One Hits.” “Everything was ‘na-na’ when you didn’t have a lyric.” Mr. DeCarlo added the “hey hey.” They chanted the chorus at the beginning and end of the original song, and as an added poison pill left the dummy lyrics in.

Image Paul Leka Credit... Joseph Bly

The record company decided to release it nonetheless as the A-side of a 45 by Steam, a fictitious group name the two men invented for the record. The song reached No. 1 in late 1969 and enjoyed a happy radio life span. Then it came back.

In 1977, the organist for the Chicago White Sox, Nancy Faust, began using the song to stoke the crowd into taunting the opposing team when visiting players struck out, say, or when their pitcher was removed. It is unclear how it spread, but within a few years the chant had become an anthem of sports conquest – not as nice as the communally-spirited “ “Take Me Out to the Ball Game” perhaps, but more ubiquitous, since fans were singing it at football and soccer games, too.

It was not exactly the spirit of the original song, but close enough.

“It’s a song where a guy wants a girl, but she’s going out with someone else,” Mr. DeCarlo said in a phone interview on Friday. “It’s basically a sad situation, but we made it upbeat. The guy sounds like he’s going to come out ahead. That’s why I think it caught on. It gives you a lift.”

Paul Theodore Leka was born on Feb. 20, 1943, in Bridgeport, one of four children of Theodore and Dhimitra Leka, immigrants from Albania. His father worked as a short-order cook. Soon after he started taking piano lessons, Paul was writing songs, and by age 16, his brother said, he was trying to sell them to music publishers in New York.