OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Narcissistic Number
Wikipedia, Narcissistic number
EXAMPLE
a(3) = 125 because this is the least number that is a multiple-digit narcissistic number in exactly three bases (12, 23 and 57).
PROG
(PARI) b=0; until(b==6, b++; n=2; until(k==b, n++; 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++)); if(k==b, print1(n, " "))))
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Tim Johannes Ohrtmann, Mar 30 2015
STATUS
approved