Its nearly autumn. Time to refresh your Prolog or CLP(FD) skills.
This gives me:
?- X is 10^10//81-1.
X = 123456789.
So the expression delivers a number with all non-zero
digits. Is there another formula that delivers all digits,
possibly permuted, where the formula itself has no zero in it?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (3 / 13) |
Uptime: | 147:28:12 |
Calls: | 9,695 |
Calls today: | 5 |
Files: | 13,732 |
Messages: | 6,178,671 |