Narcissistic decimal number: Difference between revisions

m
→‎optimized: changed the wording in the REXX section header comments.
(Added Elixir)
m (→‎optimized: changed the wording in the REXX section header comments.)
Line 1,969:
 
===optimized===
This REXX version is optimized to pre-compute all the ten (single) digits raised to all possible powers (whichthere isare only 39 possible widths/powers of narcissistic numbers).
<lang rexx>/*REXX pgm generates and displays a number of narcissistic (Armstrong) numbers*/
numeric digits 39 /*be able to handle largest Armstrong #*/