login
A038178
Numbers k such that k = (sum of digits of k)^(number of digits of k).
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 81, 512, 2401
OFFSET
1,3
COMMENTS
To prove completeness, consider that k^m contains more than m digits for every k >= 10 and check 1 <= k <= 9 explicitly. - Ulrich Schimke (ulrschimke(AT)aol.com)
Subset of A023106. - R. J. Mathar, Oct 20 2008
EXAMPLE
512 is in the sequence because (5 + 1 + 2)^3 = 512.
MATHEMATICA
Select[Range[2500], #==Total[IntegerDigits[#]]^IntegerLength[#]&] (* Harvey P. Dale, Oct 26 2011 *)
CROSSREFS
KEYWORD
nonn,nice,fini,full,base
AUTHOR
STATUS
approved