cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A014576 Smallest n-digit narcissistic (or Armstrong) number: smallest n-digit number equal to sum of n-th powers of its digits (or 0 if no such number exists).

This page as a plain text file.
%I A014576 #27 Feb 16 2025 08:32:33
%S A014576 1,0,153,1634,54748,548834,1741725,24678050,146511208,4679307774,
%T A014576 32164049650,0,0,28116440335967,0,4338281769391370,21897142587612075,
%U A014576 0,1517841543307505039,63105425988599693916,128468643043731391252,0
%N A014576 Smallest n-digit narcissistic (or Armstrong) number: smallest n-digit number equal to sum of n-th powers of its digits (or 0 if no such number exists).
%D A014576 M. Gardner, The Magic Numbers of Dr Matrix. Prometheus, Buffalo, NY, 1985, p. 249.
%D A014576 C. A. Pickover, Keys to Infinity. New York: W. H. Freeman, pp. 169-170, 1995.
%H A014576 T. D. Noe, <a href="/A014576/b014576.txt">Table of n, a(n) for n=1..39</a> (complete sequence)
%H A014576 Harvey Heinz, <a href="http://www.magic-squares.net/narciss.htm">Narcissistic Numbers</a>
%H A014576 Mike Keith, <a href="http://web.archive.org/web-cdx/20080512020203/http://users.aol.com/s6sj7gt/mikewild.htm">Wild Narcissistic Numbers</a> (Copy as of May 2008 on web.archive.org - page does not exist any more.)
%H A014576 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/NarcissisticNumber.html">Narcissistic Number.</a>
%t A014576 (* This program is not suitable for more than 10 terms *) a[n_] := For[k = 10^(n-1), True, k++, If[k > 10^n - 1, Return[0], If[k == Total[ IntegerDigits[k]^IntegerLength[k] ], Return[k] ] ] ]; Table[ Print[an = a[n]]; an, {n, 1, 10}] (* _Jean-François Alcover_, Oct 15 2013 *)
%Y A014576 Cf. A001694, A007532, A005934, A005188, A003321, A023052, A046074.
%K A014576 nonn,base,fini,full,nice
%O A014576 1,3
%A A014576 _N. J. A. Sloane_
%E A014576 Terms and links added by _Patrick De Geest_, Oct 1998
%E A014576 Broken links fixed by _M. F. Hasler_, Feb 12 2013