An Armstrong number, aka a Narcissistic Number is a number where the digits in the number raised to the power of the number of digits in the number equals the original number. For example:
153
Since it is a 3 digit number, we raise 1, 5 and 3 to the power of 3.
$${{\mathtt{1}}}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{5}}}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{3}}}^{{\mathtt{3}}} = {\mathtt{153}}$$
1634
Since this is a 4 digit number, we raise 1, 6, 3 and 4 to the power 4.
$${{\mathtt{1}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{6}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{3}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{4}}}^{{\mathtt{4}}} = {\mathtt{1\,634}}$$
An Armstrong number, aka a Narcissistic Number is a number where the digits in the number raised to the power of the number of digits in the number equals the original number. For example:
153
Since it is a 3 digit number, we raise 1, 5 and 3 to the power of 3.
$${{\mathtt{1}}}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{5}}}^{{\mathtt{3}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{3}}}^{{\mathtt{3}}} = {\mathtt{153}}$$
1634
Since this is a 4 digit number, we raise 1, 6, 3 and 4 to the power 4.
$${{\mathtt{1}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{6}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{3}}}^{{\mathtt{4}}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{4}}}^{{\mathtt{4}}} = {\mathtt{1\,634}}$$