OFFSET
1,1
COMMENTS
Concatenation is not allowed with expressions, only digits, e.g. (9-6)4 = 34 is not allowed.
EXAMPLE
46, 49, 69, 94, 469, 649 and 694 are concatenations.
10 = 4 + 6.
15 = 6 + 9.
33 = 4 * 6 + 9.
55 = 46 + 9.
58 = 6 * 9 + 4.
65 = 69 - 4.
4087 = 4^6 - 9.
4105 = 4^6 + 9.
MAPLE
A2:= select(t -> numtheory:-bigomega(t)=2, map(t -> (t[1]+t[2], 10*t[1]+t[2]), convert(combinat:-permute([4, 6, 9], 2), set))):
A3:= select(t -> t::integer and numtheory:-bigomega(t) = 2, map(t -> (t[1]+t[2]+t[3], t[1]+t[2]-t[3], t[1]*t[2]+t[3], t[1]*t[2]-t[3], 100*t[1]+10*t[2]+t[3], 10*t[1]+t[2]-t[3], 10*t[1]+t[2]+t[3], t[1]^t[2]+t[3], t[1]^t[2]-t[3],
(10*t[1]+t[2])/t[3]), convert(combinat:-permute([4, 6, 9]), set))):
sort(convert({4, 6, 9, op(A2), op(A3)}, list));
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Zak Seidov and Robert Israel, Apr 08 2025
STATUS
approved
