|
|
A321771
|
|
Numbers whose digit product equals the number of their digits.
|
|
1
|
|
|
1, 12, 21, 113, 131, 311, 1114, 1122, 1141, 1212, 1221, 1411, 2112, 2121, 2211, 4111, 11115, 11151, 11511, 15111, 51111, 111116, 111123, 111132, 111161, 111213, 111231, 111312, 111321, 111611, 112113, 112131, 112311, 113112, 113121, 113211, 116111, 121113
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Idea is similar to A061384, which uses addition instead of multiplication.
|
|
LINKS
|
|
|
EXAMPLE
|
12 has two digits, and their product is also 2, as 1*2=2.
|
|
MATHEMATICA
|
Select[Range[1000000], Length[IntegerDigits[#]] == Times @@ IntegerDigits[#] &] (* Amiram Eldar, Nov 21 2018 *)
|
|
PROG
|
(PARI) isok(n) = my(d=digits(n)); vecprod(d) == #d; \\ Michel Marcus, Nov 22 2018
|
|
CROSSREFS
|
Subsequence of A052382 (zeroless numbers).
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|