Przejdź do treści
Number Buffet

Liczby Armstronga

Liczby równe sumie własnych cyfr podniesionych do potęgi równej liczbie cyfr. W systemie dziesiętnym istnieje ich tylko 88.

OEIS A005188 · 2 min czytania

Ustawienia

Szybkie ustawienia

At most 41 of the 88 base-10 Armstrong numbers are short enough to search for here.

Each extra digit roughly doubles the work. 10 is instant; 14 takes a moment and is the furthest exact double-precision arithmetic reaches.

Every one-digit number equals itself to the first power, so 1 through 9 qualify for free.

Prints 153 = 1³ + 5³ + 3³ instead of just 153.

Dopracuj wygląd

Najpierw wybierz styl obok obrazu — te suwaki go dostrajają.

Frame

A border drawn inside the edge of the image.

Zaawansowane

Wyniki

20 wartości

1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727, 93084, 548834

The sequence is finite — exactly 88 exist in base 10, the largest being the 39-digit 115,132,219,018,763,992,565,095,597,973,971,522,401, which is beyond what this in-browser search can enumerate.


Utwórz obraz

Włącz JavaScript, aby ostylować te liczby i pobrać je jako obraz. Same wartości są wypisane powyżej.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

Artykuł z tłem historycznym poniżej nie został jeszcze przetłumaczony i jest wyświetlany po angielsku.

O liczby armstronga

Three of the four interesting base-10 examples were already a curiosity in the 1930s. G. H. Hardy, in A Mathematician's Apology (1940), used 153, 370, 371 and 407 — the only numbers above 1 that equal the sum of the cubes of their digits — as his specimen of a mathematical fact that goes nowhere: a coincidence of decimal notation with no generalisation behind it, fit for a puzzle column rather than a research paper. He meant it as a put-down, and he was right about the mathematics, which is exactly why the family has thrived in recreational and teaching contexts ever since.

The name "narcissistic number" is generally traced to Joseph S. Madachy's Mathematics on Vacation (1966), which collected the pattern alongside other self-referential digit games. "Pluperfect digital invariant" and "plus perfect number" are the terms used in the more systematic literature on digital invariants. "Armstrong number" — overwhelmingly the name used in programming courses — is attributed to one Michael F. Armstrong, said to have set the problem as a class exercise, but the attribution is repeated far more often than it is documented, and no primary source for it is easy to find. Treat it as folklore with a plausible name attached.

The one genuinely satisfying result about them is that there are finitely many. A k-digit number is at least 10^(k−1), while the sum of the k-th powers of its digits is at most k · 9^k. For k = 61 the second quantity is already smaller than the first, so no narcissistic number can have 61 or more digits. That bounds the search, and the full base-10 enumeration comes to 88 numbers, ending at a 39-digit term.

Najważniejsze właściwości

  • There are exactly 88 narcissistic numbers in base 10; OEIS A005188 lists 89 terms because it includes 0.
  • The largest is 115,132,219,018,763,992,565,095,597,973,971,522,401, which has 39 digits.
  • No narcissistic number has 61 or more digits, because k · 9^k < 10^(k−1) for every k ≥ 61 — so the whole sequence sits below 10^60.
  • The three-digit members are exactly 153, 370, 371 and 407; the four-digit members are exactly 1634, 8208 and 9474.
  • There are no two-digit narcissistic numbers, and none with 12 or 13 digits either.
  • Each of 1 through 9 qualifies trivially, being a one-digit number equal to itself raised to the first power.
  • 153 is also the 17th triangular number and equals 1! + 2! + 3! + 4! + 5!.

Gdzie się pojawiają

  • Writing a program to find the three-digit Armstrong numbers is one of the most common introductory exercises in programming courses, which is why the "Armstrong" name dominates outside mathematics.
  • G. H. Hardy cited 153, 370, 371 and 407 in A Mathematician's Apology (1940) as examples of facts that are curious but mathematically sterile.
  • 153 appears in the Gospel of John 21:11 as the number of fish in the miraculous catch, and has attracted a long tradition of numerological commentary — an interpretive tradition rather than a mathematical result.
  • Narcissistic numbers are the digit-count-matched case of the broader family of perfect digital invariants, where the exponent is fixed independently of the number of digits.
  • The sequence is a standard test case for arbitrary-precision arithmetic libraries, since verifying the 39-digit maximum exceeds 64-bit integers.

Jak korzystać z tego generatora

Wygenerowane wartości są na górze, a obok nich przycisk kopiowania. Aby zrobić z nich obraz, wybierz wygląd spośród styli w sekcji Utwórz obraz, wskaż rozmiar eksportu i pobierz jako PNG, JPEG lub WebP. Wszystko renderuje się w przeglądarce, więc nic, co wygenerujesz, nie jest wysyłane na serwer.

Pasek adresu aktualizuje się w trakcie pracy, więc link zawsze odtwarza dokładnie to, co widzisz — przydaje się, gdy chcesz udostępnić konkretny ciąg albo zachować konfigurację na później. Użyj Kopiuj, aby zabrać wartości jako zwykły tekst, albo Eksportuj dane, aby otrzymać CSV, JSON, NDJSON, SQL lub XML.

Źródła

Streszczenia historyczne na tej stronie opierają się na wymienionych wyżej źródłach o otwartej licencji. Zauważyłeś błąd? Napisz nam, a go poprawimy.