Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A165942
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A165942 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. Then dsf(3418) = 3^3+4^4+1^1+8^8 = 16777500, and dsf(16777500) = 1^1+6^6+7^7+7^7+7^7+5^5+0^0+0^0 = 2520413 and dsf(2520413) = 2^2+5^5+2^2+0^0+4^4+1^1+3^3 = 3418. In this way these three numbers make a loop. +0
6
3418, 16777500, 2520413, 3418, 16777500, 2520413 (list; graph; listen)
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

EXAMPLE

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. dsf(3418) = 16777500, dsf(16777500) = 2520413, and dsf(2520413) = 3418.

This is an iterative process that starts with 3418.

MATHEMATICA

dsf[n_] := Block[{m = n, t}, t = IntegerDigits[m]; Sum[Max[1, t[[k]]]^t[[k]], {k, Length[t]}]]; NestList[dsf, 3418, 6]

CROSSREFS

dsf is A045503.

Sequence in context: A151772 A109482 A027886 this_sequence A031787 A024751 A024759

Adjacent sequences: A165939 A165940 A165941 this_sequence A165943 A165944 A165945

KEYWORD

nonn,base,new

AUTHOR

Ryohei Miyadera, Daisuke Minematsu and Taishi Inoue (Miyadera127(AT)aol.com), Oct 01 2009

EXTENSIONS

Cross-reference from Charles R Greathouse IV (charles.greathouse(AT)case.edu), Nov 01 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research