|
|
A338258
|
|
Positive integers with digits in nondecreasing order for which the digital sum contains the same distinct digits as the digital product but the digital sum is not equal to the digital product.
|
|
0
|
|
|
99, 1137, 3344, 11558, 22334, 111339, 222233, 1111278, 1112779, 11111478, 11111479, 11112455, 111111447, 111111559, 111111667, 111112278, 111112279, 111113557, 111113677, 111122255, 111135558, 1111111489, 1111112247, 1111113333, 1111116899, 1111145556, 1111555588, 1244455555
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
22334 is in the sequence as its digital product is 144 and its digital sum is 14. The digits of the latter two are either 1 or 4 and the values 14 and 144 differ.
|
|
PROG
|
(PARI) is(n) = {my(d); if(vecsort(d = digits(n)) != d, return(0)); vp = vecprod(d); vs = vecsum(d); vp != vs && Set(digits(vp)) == Set(digits(vs))}
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|