1. Home
  2. Numberphile

Sep 24, 2025

What do 2025, 666, and 1729 have in common?

16 min → 1:45

Overview

Host Brady Haran and the presenter explore Harshad numbers, which are integers divisible by the sum of their digits, through puzzles, consecutive sequences, and a surprising test of Haran's birthday.

3 things to know

Harshad numbers divide evenly by their added digits

A Harshad number, also known as a Niven number, is any whole number that can be divided evenly by the sum of its digits, such as 21 dividing by 2 plus 1.

More

For example, 21 is a Harshad number because 2 + 1 = 3, and 21 is divisible by 3.

▶ Watch at 0:17

Harshad number streaks can never beat 20 in a row

Whole numbers that are Harshad numbers can appear right next to each other, but math proves that no uninterrupted streak of them can ever be longer than 20.

More

There can be sequences of consecutive integers that are all Harshad numbers.

▶ Watch at 0:24

Super Harshad numbers divide down into prime numbers

Strong or super Harshad numbers leave a prime number when divided by the sum of their digits, such as 18 dividing by 1 plus 8 to make 2.

More

For example, 18 is a strong Harshad number because 18 / (1+8) = 2, which is prime.

▶ Watch at 2:19

Also in this episode

Dividing Harshad numbers by their digits builds chains

Mathematicians build a Harshad chain by dividing a Harshad number by the sum of its digits and checking if the resulting answer is also a Harshad number.

Only four numbers are Harshad in every base

Trans-Harshad numbers, also called Universal Joy Givers, work as Harshad numbers in every counting base, and only the numbers 1, 2, 4, and 6 qualify.

More

These are numbers that are Harshad in every numerical base.

Harshadmorphic numbers match a Harshad number's end and sum

A number is called harshadmorphic when there is a Harshad number that both ends in that exact number and has digits that add up to it.

Quotes

“They bring joy. These are numbers that bring joy.”

▶ Watch at 0:24

“Brady, your birthday's rubbish.”

▶ Watch at 2:19

“They're Harshad numbers.”

▶ Watch at 0:17

Full summary

Episode Overview

  • The episode introduces the concept of Harshad numbers, also known as Niven numbers, through a puzzle involving the numbers 2025, 666, and 1729.
  • A Harshad number is defined as any integer that is divisible by the sum of its digits. The name originates from the Sanskrit word harṣa, meaning "joy giver."
  • The discussion explores various fascinating properties and categories of Harshad numbers, such as consecutive sequences, factorial relationships, and special types like "super harshad" and "trans-harshad" numbers.
  • The presenter demonstrates how to check if a number is a Harshad number and even applies the test to host Brady Haran's birthday, with surprising results.

Key Concepts

  • Harshad Number (or Niven Number): An integer that is divisible by the sum of its own digits. For example, 21 is a Harshad number because 2 + 1 = 3, and 21 is divisible by 3.
  • Consecutive Harshad Numbers: There can be sequences of consecutive integers that are all Harshad numbers. However, it has been proven that no sequence of consecutive Harshad numbers can be longer than 20.
  • Harshad Chains: A process where you start with a Harshad number, divide it by its digit sum to get another number, and then test if that new number is also a Harshad number, continuing the chain.
  • Strong/Super Harshad Numbers: A Harshad number which, when divided by the sum of its digits, results in a prime number. For example, 18 is a strong Harshad number because 18 / (1+8) = 2, which is prime.
  • Trans-Harshad Numbers (Universal Joy Givers): These are numbers that are Harshad in every numerical base. Only four such numbers exist: 1, 2, 4, and 6.
  • Harshadmorphic Numbers: A number 'n' is harshadmorphic if there exists a Harshad number that ends in 'n' and also has a digit sum of 'n'.

Quotes

  • At 00:17 - "They're Harshad numbers." - Brady Haran correctly guesses the topic of the video immediately, comically preempting the puzzle.
  • At 00:24 - "They bring joy. These are numbers that bring joy." - The presenter explains that the name "Harshad" comes from a Sanskrit word meaning "joy giver."
  • At 02:19 - "Brady, your birthday's rubbish." - After calculating that Brady Haran's birthday (18061976) is not a Harshad number, the presenter jokingly dismisses it.

Takeaways

  • You can determine if any number is a "joy giver" by summing its digits and checking if the original number is divisible by that sum.
  • There is a maximum limit to how many consecutive Harshad numbers can exist in a row, which is 20.
  • Only four numbers are Harshad in every possible base (1, 2, 4, and 6), making them "universal joy givers."
  • Every integer under one billion can be expressed as either a Harshad number itself or as the sum of two Harshad numbers.

Watch the full episode 16 min

Read along with the audio summary

How could the numbers two thousand twenty five, six hundred sixty six, and one thousand seven hundred twenty nine possibly belong in the exact same group? That is the opening puzzle of this episode, which came out on September 24, 2025, featuring host Brady Haran and a presenter exploring the hidden properties of numbers. By the end of this summary, you will know how to spot these numerical joy givers and uncover the strict mathematical rules that govern them.

The secret to finding numbers that bring joy.

Before the presenter can even finish setting up the opening puzzle, Brady Haran immediately and comically guesses the answer: they are Harshad numbers. Also known as Niven numbers, the name Harshad comes from a Sanskrit word meaning joy giver. An integer, which is simply a whole number, qualifies as a Harshad number if it can be divided evenly by the sum of its own digits. Take the number twenty one. If you add its digits, two plus one, you get three, and since twenty one divides evenly by three, it is a Harshad number.

Why a winning streak of Harshad numbers always hits a wall.

Sequences of consecutive Harshad numbers do exist on the number line. However, mathematicians have proven a strict limit to how long these streaks can last. No sequence of consecutive Harshad numbers can ever be longer than twenty in a row.

How dividing a Harshad number can trigger a chain reaction.

This process is called a Harshad chain. You start with a Harshad number and divide it by the sum of its digits to get a brand new number. You then test if that new result is also a Harshad number, and if it is, you divide it by its own digit sum to keep the chain going.

What makes certain Harshad numbers extra strong.

A Harshad number is considered strong when dividing it by the sum of its digits leaves you with a prime number. Look at the number eighteen. Adding one and eight gives you nine, and eighteen divided by nine equals two, which is a prime number and makes eighteen a strong Harshad number.

The elite club of four numbers that bring universal joy.

Trans Harshad numbers are the rare universal joy givers that remain Harshad numbers in every single numerical base. Those four universal joy givers are one, two, four, and six.

The strange mirror trick of harshadmorphic numbers.

A number is called harshadmorphic if you can find a Harshad number that both ends in that exact number and has digits that add up to that exact same number.

Even when a number fails the test, it is never far from joy, because every single whole number under one billion is either a Harshad number itself or the sum of two Harshad numbers.

More from Numberphile

Related Episodes