OFFSET
1,1
EXAMPLE
n = 761, we have (7*6*1)/(7+6+1) = 3; a(56)= 761.
n = 792, we have (7*9*2)/(7+9+2) = 7; a(57)= 792.
n = 813, we have (8*1*3)/(8+1+3) = 2; a(58)= 813.
MATHEMATICA
Block[{i = k, r = {}}, r = Table[p = IntegerDigits@i; If[PrimeQ[Times @@ p/Total@p], k, Nothing], {k, 735}]; r] (* Mikk Heidemaa, May 26 2024 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Ctibor O. Zizka, May 12 2008
STATUS
approved