OFFSET
1,1
COMMENTS
The distinction between the economical numbers (A046759) is that the distinct digits are counted only instead all digits. Hence the definition:
Write n as product of primes raised to powers, let D(n) = total number of distinct digits in product representation (number of distinct digits in all the primes and number of distinct digits in all the exponents that are greater than 1) and nbd(n) = A043537(n) number of distinct digits in n; sequence gives n such that D(n) < nbd(n).
EXAMPLE
27 is in the sequence because 27 = 3 ^ 3 => D(27)= 1 < nbd(27)=2.
MATHEMATICA
Cases[Range[400], n_ /; Length[Union[Flatten[IntegerDigits[FactorInteger[n] /. 1 -> Sequence[]]]]]< Length[Union[Flatten[IntegerDigits[n]]]]]
PROG
(PARI) for(n=1, 10^3, s=[]; F=factor(n); for(i=1, #F[, 1], s=concat(s, digits(F[i, 1])); if(F[i, 2]>1, s=concat(s, digits(F[i, 2])))); if(#vecsort(digits(n), , 8)>#vecsort(s, , 8), print1(n, ", "))) \\ Derek Orr, Jan 30 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Jan 28 2015
STATUS
approved