Re: Challenging problem



Markus Triska wrote:
Hi Bart!

Bart Demoen wrote:

I indeed think that Nameless arrived at that conclusion. If you see
another interpretation of what (s)he wrote, please tell us.


Please see above, where I told you.

Maybe I am looking in the wrong place, or maybe I don't get some of your contribution(s): I can't see it (neither above nor any place else). Would you mind reposting your [other] interpretation ? Thanks.



I consider it a drawback of the decimals/2 predicate that it, when tested with SWI Prolog using default settings, fails to produce any result for all integers in the chosen range.

Is the fact that you mention SWI-Prolog explicitly in your message important ? Is the "default settings" part important ? Does the same drawback exist for the period/2 predicate - for a range of smaller integers [hint: try the smallish number 100097] ?

Are we talking here about a space/time trade-off, an inherent complexity
issue, a limitation of SWI-Prolog (shared by any other Prolog systems
perhaps) ... ?

Cheers

Bart Demoen
.