In a small birdcage in Japan, a young Bengalese finch is doing something remarkable: it's learning to sing by unconsciously crunching numbers. The tiny songbird listens to the adult birds around it and figures out which sound combinations happen most often — essentially teaching itself the grammar of birdsong, one statistical pattern at a time.

Now, scientists have discovered that these feathered mathematicians share their numerical tricks with us. A team of researchers from the University of Edinburgh, Hebrew University of Jerusalem, and Teikyo University in Japan found that Bengalese finches organize their songs using the exact same mathematical formula that humans use when speaking. Even more stunning? Humpback whales do it too.

The findings, published in the journal Science Advances, challenge a long-held belief that complex, rule-based communication is uniquely human.

The researchers applied techniques originally designed to study how babies learn language. They fed recordings of finch songs through these computational models and discovered something surprising: the birds' songs contain coherent sequences — the bird equivalent of words — that follow a pattern called Zipfian distribution. In plain terms, this means a few sounds show up all the time while others appear rarely, just like how some words in English ("the," "is," "and") are used far more often than others.

What's really interesting is that these patterns were already visible in the finches' earliest attempts at singing. Baby birds, like human babies, absorb the sounds around them and slowly build up an unconscious understanding of which sound combinations "belong together." They don't get a textbook or explicit instruction — they just listen and learn.

Professor Simon Kirby of the University of Edinburgh, who co-led the research, put it this way: "Both humans and songbirds pass on their communication through culture, and this is what creates the patterns that language and birdsong share. We humans are the only species with language, but we share the planet with several others who also have culturally evolving communication, and this may make us more similar to one another than we previously thought."

The researchers previously found similar patterns in humpback whale songs. The fact that both birds and whales ended up with the same mathematical solution — despite being separated by more than 300 million years of evolution — suggests that when communication must be learned and passed down from one generation to the next, nature may always arrive at the same answer.

In other words, language's building blocks might not be as special as we thought. They could be a universal feature of any learned communication system, whether it comes from a beak, a blowhole, or a mouth.