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(1583236420) =1682731 and dsf(1682731) = 18470991,...,dsf(388290999) = 1583236420,.. in this way this 97 numbers make a loop for the function dsf. In fact this is the longest loop for dsf function in the set of all nonnegative integers.

A166383

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(1583236420) =1682731 and dsf(1682731) = 18470991,...,dsf(388290999) = 1583236420,.. in this way this 97 numbers make a loop for the function dsf. In fact this is the longest loop for dsf function in the set of all nonnegative integers.

Terms

    a(0) =1583236420a(1) =16827317a(2) =18470991a(3) =792441996a(4) =1163132183a(5) =16823961a(6) =404291050a(7) =387424134a(8) =17601586a(9) =17697199a(10) =1163955211a(11) =387473430a(12) =18424896a(13) =421022094a(14) =387421016a(15) =17647705a(16) =2520668a(17) =16873662a(18) =17740759a(19) =389894501a(20) =808398820

External references