OFFSET
1,3
COMMENTS
This sequence is infinite because 2*10^k is a term for any k >= 0.
Also 10^k is a term when k >= 0 and so too 10^k*(10^m - 1)/9 for any k > 0 and m >= 0. - Bruno Berselli, Aug 26 2019
EXAMPLE
k = 113 is in the sequence because the set of digits of k {1, 3} equals the set of digits of (k in base 110) = 13.
PROG
(PARI) isok(k) = {my(j=Set(digits(k))); for(b=2, k+1, if((b!=10) && (Set(digits(k, b)) == j), return(1))); return(0); } \\ Michel Marcus, Aug 05 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jinyuan Wang, Aug 05 2019
STATUS
approved