Talk:N-smooth numbers: Difference between revisions

m
 
Line 1:
== Disagreement among implementations ==
 
There seems to be some disagreement among the various implementations about what the 30000th value is for the optionoptional sub-task. Perl 6 and Julia are the same, but Factor and REXX have two different answers. I've checked the Perl 6 several times and can't see where it may be wrong. (That is not to say that it ''isn't'' necessarily, I just can't find a problem yet.) And I am not familiar enough with Julia, Factor or REXX to be able to verify those.
 
To help find the disagreement, I've uploaded several text files containing the first 30,000: [https://github.com/thundergnat/rc/blob/master/resouces/503.txt 503-smooth], [https://github.com/thundergnat/rc/blob/master/resouces/509.txt 509-smooth] and [https://github.com/thundergnat/rc/blob/master/resouces/521.txt 521-smooth] numbers as determined by Perl 6. Each file has 30,000 lines with one number on each line. The last line should be the 30,000th.
10,333

edits