A241681 Numbers n such that the decimal digits of n are also the prime divisors of n.
2, 3, 5, 7, 735, 2333772
Offset: 1
Examples
735 = 3*5*7^2 is in the sequence because the digits 7, 3 and 5 are also the prime divisors of 735.
Programs
-
Maple
with(numtheory):nn:=1000000:for n from 1 to 10^11 do:lst:={}:x:=factorset(n):y:=convert(n,base,10):n1:=nops(x):n2:=nops(y): for j from 1 to n2 do:lst:=lst union {y[j]}:od:if x=lst then print(n):else fi:od:
Comments