A274124 Numbers n such that (product of digits of n) is divisible by (sum of digits of n) and digits of n are in nondecreasing order.
1, 2, 3, 4, 5, 6, 7, 8, 9, 22, 36, 44, 66, 88, 123, 138, 145, 159, 167, 189, 224, 235, 246, 257, 268, 279, 333, 345, 347, 357, 369, 448, 456, 459, 466, 578, 579, 666, 678, 789, 999, 1124, 1146, 1168, 1225, 1233, 1236, 1247, 1258, 1269, 1344, 1348, 1356, 1368, 1447
Offset: 1
Links
- David A. Corneth, Table of n, a(n) for n = 1..10000
Programs
-
PARI
is(n) = my(v=vecsort(digits(n))); v==digits(n) && prod(i=1,#v,v[i]) % vecsum(v)==0
Comments