This site is supported by donations to The OEIS Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A045503 If decimal expansion of n is ab...d, a(n) = a^a + b^b +...+ d^d. 13
 1, 1, 4, 27, 256, 3125, 46656, 823543, 16777216, 387420489, 2, 2, 5, 28, 257, 3126, 46657, 823544, 16777217, 387420490, 5, 5, 8, 31, 260, 3129, 46660, 823547, 16777220, 387420493, 28, 28, 31, 54, 283, 3152, 46683, 823570, 16777243 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Harvey P. Dale, Table of n, a(n) for n = 0..1000 MATHEMATICA f[n_]:=Module[{idn=IntegerDigits[n]/.{0->1}}, Total[idn^idn]]; Array[f, 100, 0] (* Harvey P. Dale, May 14 2012 *) PROG (PARI) a(n)=if(n, n=digits(n); sum(i=1, #n, n[i]^n[i]), 1) \\ Charles R Greathouse IV, Oct 07 2015 CROSSREFS Cf. A045512. Sequence in context: A067041 A070691 A070834 * A134010 A117280 A067040 Adjacent sequences:  A045500 A045501 A045502 * A045504 A045505 A045506 KEYWORD nonn,base AUTHOR EXTENSIONS Checked by Neven Juric (neven.juric(AT)apis-it.hr), Feb 04 2008 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 20 02:48 EST 2019. Contains 319320 sequences. (Running on oeis4.)