login
Conjectured largest number k not divisible by 10 such that k^k has exactly n distinct decimal digits.
0

%I #6 Nov 04 2014 22:41:47

%S 2,3,6,8,7,14,15,17,34

%N Conjectured largest number k not divisible by 10 such that k^k has exactly n distinct decimal digits.

%o (PARI) a(n)=k=100;while((k&&#vecsort(digits(k^k),,8)!=n)||k%10==0,k--);k

%o vector(9,n,a(n))

%K nonn,base,fini,full

%O 1,1

%A _Derek Orr_, Oct 31 2014