login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A016112
Smallest prime whose digit product is n, if possible; otherwise 0 if n is a prime > 7 or 1 if n has a prime factor > 7.
2
101, 11, 211, 13, 41, 151, 23, 17, 181, 19, 251, 0, 43, 0, 127, 53, 281, 0, 29, 0, 541, 37, 1, 0, 83, 11551, 1, 139, 47, 0, 523, 0, 1481, 1, 1, 157, 149, 0, 1, 1, 12451, 0, 67, 0, 1, 59, 1, 0, 283, 11177, 2551, 1, 1, 0, 239, 1, 1187, 1, 1, 0, 1453, 0, 1, 79, 881, 1
OFFSET
0,1
REFERENCES
Charles W. Trigg, Products of the Digits of Primes, J. Rec. Math., Vol. 22 #4, pp. 247-248, 1990
CROSSREFS
Sequence in context: A083152 A073053 A308106 * A283505 A290072 A288810
KEYWORD
nonn,base
STATUS
approved