proposed
approved
proposed
approved
editing
proposed
D. T. Winter, <a href="http://ftp.cwi.nl/dik/Armstrong">Table of Armstrong Numbers</a>
D. T. Winter, <a href="http://ftp.cwi.nl/dik/Armstrong">Table of Armstrong Numbers</a>
proposed
editing
editing
proposed
Base -5 Armstrong or narcissistic numbers (written in base 10).
Zero would also satisfy the definition as the other single -digit terms, but here only positive numbers are considered. - M. F. Hasler, Nov 20 2019
(PARI) A010346=select( is_A010346(n)={n==vecsum([d^#n|d<-n=digits(n, 5)])}, [0..9999]) \\ NB: this This yields only terms < 10^4 (i.e., all but the last 3 terms), for illustration of is_A010346(). In older versions of PARI, use {n==sum(i=1, #n=digits(n, 5), n[i]^#n)}. - M. F. Hasler, Nov 20 2019
approved
editing
editing
approved
(PARI) A010346=select( {is_A010346(n)={n==vecsum([d^#n|d<-n=digits(n, 5)])}, [0..9999]) \\ NB: this yields only terms < 10^4, (i.e., all but the last 3 terms), for illustration of is_A010346(). Uses In older versions of PARI/GP v.2.12 or later, use {n==sum(i=1, #n=digits(n, 5), n[i]^#n)}. - M. F. Hasler, Nov 20 2019
approved
editing
editing
approved
(PARI) A010346=select( {is_A010346(n)=n==vecsum([d^#n|d<-n=digits(n, 5)])}, [0..9999]) \\ NB: this yields only terms < 10^4, for illustration of is_A010346(). Uses PARI/GP v.2.12 or later. - M. F. Hasler, Nov 20 2019
approved
editing
editing
approved