Smallest number m such that m and the product of digits of m are both divisible by 3n, or 0 if no such number exists.

A073910

Smallest number m such that m and the product of digits of m are both divisible by 3n, or 0 if no such number exists.

Terms

    a(0) =3a(1) =6a(2) =9a(3) =168a(4) =135a(5) =36a(6) =273a(7) =168a(8) =999a(9) =0a(10) =0a(11) =1296a(12) =0a(13) =378a(14) =495a(15) =384a(16) =0a(17) =1296a(18) =0a(19) =0a(20) =1197a(21) =0a(22) =0a(23) =1368a(24) =3525a(25) =0a(26) =2997a(27) =672a(28) =0a(29) =0

External references