|
| |
|
|
A166024
|
|
Define dsf(n) = A045503(n) = n_1^{n_1}+n_2^{n_2}+n_3^{n_3} + n_m^{n_m}, where {n_1,n_2,n_3,...n_m} is the list of the decimal digits of n. dsf(421845123) = 16780890 and dsf(16780890) = 421845123, so these 2 numbers make a loop for the function dsf.
|
|
4
| |
|
|
421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890, 421845123, 16780890
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| In fact there are only 8 loops in the whole nonnegative integers for the dsf-function that we defined.
Periodic with period 2.
|
|
|
LINKS
| Ryohei Miyadera, Curious Properties of an Iterative Process,Mathsource, Wolfram Library Archive
|
|
|
FORMULA
| a(n+1) = dsf(a(n)).
|
|
|
MATHEMATICA
| dsf[n_] := Block[{m = n, t}, t = IntegerDigits[m]; Sum[Max[1, t[[k]]]^t[[k]], {k, Length[t]}]]; NestList[dsf, 421845123, 4]
|
|
|
CROSSREFS
| Cf. A165942, A045503
Sequence in context: A038132 A101770 A186795 * A017408 A017528 A117631
Adjacent sequences: A166021 A166022 A166023 * A166025 A166026 A166027
|
|
|
KEYWORD
| nonn,base,easy
|
|
|
AUTHOR
| Ryohei Miyadera, Satoshi Hashiba and Koichiro Nishimura. (Miyadera127(AT)aol.com), Oct 04 2009
|
|
|
EXTENSIONS
| Comment and editing by Charles R Greathouse IV (charles.greathouse(AT)case.edu), Aug 02 2010
|
| |
|
|