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

%I #10 Dec 08 2013 13:50:02

%S 0,1,10,100,1000,10000,100000,1000000,1380796,10000000,10423786,

%T 10489362,10532689,10689247,10743958,12645980,13042697,13674925,

%U 13807960,14205893,14857690,16892043,17284360,17983256,19046537,19754203,20634971,20637451,21865409

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

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

%e {0, 1, 3, 6, 7, 8, 9} - the set of digits of 1380796 and of 1380796^6, so 1380796 is in the sequence.

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

%Y Cf. A029793, A029795, A232659, A232660, A232662.

%K nonn,base

%O 1,3

%A _Arkadiusz Wesolowski_, Nov 27 2013