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: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 57:14:18 |
Calls: | 6,652 |
Calls today: | 4 |
Files: | 12,200 |
Messages: | 5,331,018 |