Smallest multidigit prime such that the sum of the squares of its digits is equal to n times the product of its digits, or 0 if no such prime exists.

A067791

Smallest multidigit prime such that the sum of the squares of its digits is equal to n times the product of its digits, or 0 if no such prime exists.

Terms

    a(0) =11353a(1) =11a(2) =211a(3) =1111116211a(4) =11411a(5) =511111a(7) =11111117a(8) =111111181

External references