|
Search: id:A166024
|
|
|
| A166024 |
|
We define a function dsf. Let n be a non-negative integer, then dsf(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 digits of an integer n. dsf(421845123) =16780890 and dsf(16780890) = 421845123, and in this way these 2 numbers make a loop for the function dsf. |
|
+0 5
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
In fact there are only 8 loops in the whole non-negative integers for the dsf-function that we defined.
|
|
LINKS
|
Ryohei Miyadera, Curious Properties of an Iterative Process,Mathsource, Wolfram Library Archive
|
|
FORMULA
|
Let dsf(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 digits of an integer n. By applying the function dsf to 421845123 we can get a loop of the length of 2.
|
|
EXAMPLE
|
This is an reiterative process that starts with 421845123.
|
|
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
|
A165942
Sequence in context: A103124 A038132 A101770 this_sequence A157729 A017408 A017528
Adjacent sequences: A166021 A166022 A166023 this_sequence A166025 A166026 A166027
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Ryohei Miyadera, Satoshi Hashiba and Koichiro Nishimura. (Miyadera127(AT)aol.com), Oct 04 2009
|
|
|
Search completed in 0.002 seconds
|