Armstrong Number Calculator

Find all n = Σdᵢᵏ for k digits

CalculatorsFreeNo Signup
4.6(167 reviews)
All Tools

Loading tool...

About Armstrong Number Calculator

An Armstrong number calculator that finds all numbers where n = Σdᵢᵏ for k digits. Generates complete lists for k=1 through 7. Shows computation breakdown. Tests arbitrary numbers. All calculations are client-side.

Armstrong Number Calculator Features

  • Find all for k
  • Test number
  • Breakdown
  • By digit count
  • Table
Armstrong number: n = Σdᵢᵏ where k = number of digits. k=3: 153=1³+5³+3³, 370, 371, 407. k=4: 1634, 8208, 9474. k=5: 54748, 92727, 93084. Find all Armstrong numbers for any digit count.

How to Use

Select digit count k:

  • k: Number of digits
  • List: All Armstrong numbers
  • Test: Check any number

By Digit Count

  • k=1: 1,2,...,9 (trivially)
  • k=3: 153,370,371,407
  • k=4: 1634,8208,9474
  • k=5: 54748,92727,93084
  • k=6: 548834
  • k=7: 1741725,4210818,9800817,9926315

Algorithm

For k-digit Armstrong numbers: iterate all k-digit numbers (10ᵏ⁻¹ to 10ᵏ−1), compute Σdᵢᵏ, check if equals n. Optimization: use combinations of digits with repetition to reduce search space.

Step-by-Step Instructions

  1. 1Select k.
  2. 2Generate list.
  3. 3View breakdowns.
  4. 4Test a number.
  5. 5Compare digit counts.

Armstrong Number Calculator — Frequently Asked Questions

How many Armstrong numbers exist?+

Exactly 88 in base 10. They range from single digits (1-9) to a 39-digit number. For k≥40 digits, k·9ᵏ < 10ᵏ⁻¹, so no Armstrong numbers can exist. The complete list has been computed by exhaustive search.

Are Armstrong numbers useful?+

Primarily in recreational mathematics and programming education. They're a classic coding exercise teaching loops, digit extraction, and power computation. They also appear in competitive programming contests.

Do Armstrong numbers exist in other bases?+

Yes! In any base b, the concept works with dᵢᵏ computed in base b. The count is always finite (bounded by the same growth argument). In base 2, the only Armstrong numbers are 1. In base 3: 1, 2, 12, 22, 122.

Share this tool: