OFFSET
1,1
LINKS
Tim Johannes Ohrtmann, Table of n, a(n) for n = 1..49477
EXAMPLE
a(1) = 3 because this is the base in which A256360(1) is a multiple-digit narcissistic number: 5 is 12 in base 3 and 1^2+2^2 = 5.
PROG
(PARI) for(n=3, 1000000, k=0; for(z=2, n, y=n; j=0; L=List(); until(y==0, x=y%z; j++; listinsert(L, x, j); while(!((y%z)==0), y--); y=y/z); t=0; for(p=1, j, t+=L[p]^j); if(n==t, k++; a=z)); if(k==1, print1(a, ", ")))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tim Johannes Ohrtmann, Jun 25 2015
STATUS
approved