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: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 111:04:03 |
Calls: | 6,853 |
Calls today: | 4 |
Files: | 12,355 |
Messages: | 5,416,415 |