login
Numbers n such that n and n^7 have the same set of digits.
7

%I #10 Dec 08 2013 13:49:36

%S 0,1,10,100,1000,10000,100000,1000000,10000000,12635940,26875130,

%T 29851046,31572460,36082794,38625410,39756810,42675139,47025831,

%U 50748936,58291760,65279801,68249735,76942451,78952160,80572614,100000000,102359784,102374865

%N Numbers n such that n and n^7 have the same set of digits.

%H Lars Blomberg, <a href="/A232662/b232662.txt">Table of n, a(n) for n = 1..10000</a>

%e {0, 1, 2, 3, 4, 5, 6, 9} - the set of digits of 12635940 and of 12635940^7, so 12635940 is in the sequence.

%o (PARI) for(n=0, 102374865, if(Set(Vec(Str(n)))==Set(Vec(Str(n^7))), print1(n, ", ")));

%Y Cf. A029793, A029795, A232659-A232661.

%K nonn,base

%O 1,3

%A _Arkadiusz Wesolowski_, Nov 27 2013