|
| |
|
|
A056770
|
|
Smallest number that is n times the product of its digits or 0 if impossible.
|
|
0
| |
|
|
1, 36, 15, 384, 175, 12, 735, 128, 135, 0, 11, 1296, 624, 224
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
EXAMPLE
| a(4)= 384 because the product of the digits of 384 *4 = 384 and is the least such number that exhibits this property.
|
|
|
MATHEMATICA
| Do[k = n; If[Mod[n, 10] == 0, Print[0]; Continue[]]; While[Apply[Times, RealDigits[k][[1]]]*n != k, k += n]; Print[k], {n, 1, 50}]
|
|
|
CROSSREFS
| Cf. A007602, A003634.
Sequence in context: A109256 A066583 A073405 * A061038 A058231 A008894
Adjacent sequences: A056767 A056768 A056769 * A056771 A056772 A056773
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 16 2000
|
| |
|
|