a(n) is the greatest number with distinct decimal digits and n prime factors, counted with multiplicity, or -1 if there is no such number.

A363963

a(n) is the greatest number with distinct decimal digits and n prime factors, counted with multiplicity, or -1 if there is no such number.

Terms

    a(0) =1a(1) =987654103a(2) =987654301a(3) =9876541023a(4) =9876542103a(5) =9876543102a(6) =9876543201a(7) =9876543210a(8) =9876542130a(9) =9876543120a(10) =9876534120a(11) =9876345120a(12) =9876514032a(13) =9876431250a(14) =9876045312a(15) =9875324160a(16) =9876523104a(17) =9863147520a(18) =9875312640a(19) =9635217408a(20) =9845637120a(21) =9715064832a(22) =9574023168a(23) =9805234176a(24) =5892341760a(25) =6398410752a(26) =-1a(27) =-1a(28) =-1a(29) =536870912

External references