IP331.com | Online Tools
Home›Number Theory›Smith Number Checker

Smith Number Checker

Enter a composite integer to check if it is a Smith number (digit sum equality)

Enter Number

Smith Number Definition

Composite n where digit_sum(n) = digit_sum(prime_factors(n))
Prime factors counted with multiplicity
Smallest Smith number: 4 = 2x2 (4 = 2+2)
Most famous: 4937775 (Smith's phone number)

A Smith number is a composite integer whose digit sum equals the sum of the digits of its prime factors. These numbers were discovered accidentally when mathematician Albert Wilansky noticed his brother-in-law Smith's phone number had this property.

⚠ Prime numbers are excluded by definition. The sum includes all prime factor digits with repetition (multiplicity counted).

What Is a Smith Number?

A Smith number is a composite where the sum of digits equals the sum of digits of its prime factors. Discovered by Albert Wilansky in 1982, these numbers are named after his brother-in-law whose phone number (493-7775) was the first such number identified.

Digit Sum

Add all digits of the number. 666: 6+6+6=18. 4937775: 4+9+3+7+7+7+5=42.

Factor Digit Sum

Factor the number and add digits of each prime factor (with repetition). 666=2x3x3x37: 2+3+3+3+7=18.

Discovery

Wilansky noticed 4937775 had equal digit sums. He named them after his brother-in-law Smith. The number factors as 3x5x5x65837.

Infinite

Proved infinitely many by McDaniel (1987). Over 29,000 exist below 1 million. They appear irregularly but consistently.

Teaching Example: Test 666. Factor: 666 = 2 x 3 x 3 x 37. Sum digits of 666: 6+6+6=18. Sum factor digits: 2+3+3+3+7=18. Equal! 666 is a Smith number. Also try 4, 22, 27, 121, 666, 4937775.

Applications

Recreational Math Number Theory Digit Analysis Factor Puzzles Math Education Competitions

FAQs about Smith Numbers

What is a Smith number?▼
A composite where sum of its digits equals sum of digits of its prime factors. 666: 6+6+6 = 2+3+3+3+7 = 18.
What is the most famous Smith number?▼
4937775 - the phone number of Smith, brother-in-law of mathematician Wilansky who discovered them. 4+9+3+7+7+7+5=42 = 3+5+5+6+5+8+3+7.
Can prime numbers be Smith numbers?▼
No, primes are excluded by definition. A Smith number must be composite. If primes were included, every prime would trivially satisfy the condition.
Are there consecutive Smith numbers?▼
Yes, called Smith brothers. The smallest pair is (728, 729). 728=2^3x7x13 (digit sum 17), 729=3^6 (digit sum 18). Both satisfy the Smith condition.

More Number Theory Tools

Free online calculators and tools covering mathematics, unit conversion, text processing, and daily life. Accurate, fast, mobile-friendly, and completely free to use.

© 2026 IP331.com - Free Online Tools. All rights reserved.

Privacy Policy | Cookie Policy | Terms of Use | Disclaimer