A049102 Positive numbers n such that n is a multiple of (product of digits of n) * (sum of digits of n).
1, 12, 111, 112, 135, 144, 216, 432, 2112, 11112, 11115, 11232, 12312, 13824, 14112, 21112, 23112, 27216, 31212, 41112, 81216, 93312, 111132, 122112, 124416, 131112, 132192, 186624, 212112, 221112, 221184, 222912, 239112, 248832, 311472, 316224
Offset: 1
Examples
432 is a term because: 4*3*2=24, 4+3+2=9, 24*9=216 and 432/216 = 2.
Links
- David A. Corneth, Table of n, a(n) for n = 1..19637 (first 100 terms from Vincenzo Librandi, terms < 10^14)
- David A. Corneth, a(n) = [product of digits of a(n)] * [sum of digits of a(n)] * [some factor]
Programs
-
Mathematica
Select[ Range[10^6], IntegerQ[ # /(Apply[ Times, IntegerDigits[ # ]] * Apply[ Plus, IntegerDigits[ # ]] ) ] & ]
-
PARI
isok(n) = my(d=digits(n)); vecprod(d) && (n % (vecsum(d)*vecprod(d)) == 0); \\ Michel Marcus, Jan 23 2019
Comments