Talk:Pandigital prime

From Rosetta Code

Direct copy of Project Euler problems

This is the second Project Euler problem which is proposed as Rosetta Task without any change. Of course, there is no copyright on this problems but are we going to take all Project Euler problems to feed Rosetta Code? Moreover, this is not fair for Project Euler as we are now spoiling its problems by providing solutions. I suggest removing this task and the task Permuted_multiples. --lscrd (talk) 16:19, 5 September 2021 (UTC)

I agree. If I hadn't gotten so much push back before when I tried to moderate added draft tasks this would already be gone. --Thundergnat (talk) 17:39, 5 September 2021 (UTC)
I also agree that Calmosoft should be asked to desist from posting any more unmodified Project Euler tasks or risk having them deleted. However, I'd let the ones that have already been posted stand as a lot of thought has been put into finding optimal solutions by various contributors. --PureFox (talk) 17:54, 5 September 2021 (UTC)
+1 however Permuted_multiples potentially has some merit, unlike this task and especially Special_pythagorean_triplet, which is entirely about devising an efficient algorithm and nothing at all to do with the differences between programming languages. Mind you the same could be said for the older Sum_multiples_of_3_and_5. I certainly don't envy anyone trying to police this. One thing Calmosoft is either unwilling or incapable of comprehending is that projecteuler plainly says "don't", though it is more debateable as to who is making a more of a fool of themselves: him for posting these tasks in the first place, or those of us that far too eagerly start submitting solutions, and I am not entirely innocent there. --Pete Lomax (talk) 18:08, 5 September 2021 (UTC)


Problem is, we all provide solutions to these tasks and then say we want to delete them - maybe if we just ignored the tasks we don't like, didn't post solutions and waited for Thundergnat to rule on them, there might be more justification for deleting them. Perhaps we could flag then as "Under Review - post solutions at your own risk" or something ?

RC has a Category:Simple for easier programming tasks - the Sum_multiples_of_3_and_5 could fall into that category. I like that task as a small amount of thought can yield a better solution than the obvious one.

What do you particularly dislike about Special_pythagorean_triplet (a task you have provided two solutions for) ? Other than several of the solution authors haven't read the task description and/or have neglected to calculate a * b * c, I have no problem with it. I for one, put not inconsiderable thought and effort into it, as I imagine Nigel, yourself and several other people did too. For that reason alone I think it should stand.

However, I must agree that RC should not just be a collection of tasks "find primes with property X" and "solve Project Euler Problem Y" and perhaps we should draw the line here.

The use of the task test verbatim from Project Euler worried me considerably, however I believe their license allows it - after re-reading the license page several times, I came to the concluson that the bit that says it can't be re-published is refering to everything else except the problem itself. I'm not a lawyer though, so I could be wrong... Whether their license means the task page as a whole is now under the Creative Commons license is also something I'm not qualified to say. It might be better to change the description to something like "Solve the Project Euler problem here" (where here is a link to their page) and remove all actual PE text.

--Tigerofdarkness (talk) 19:25, 5 September 2021 (UTC)
This is not only a problem of license, but also to be fair with other projects. And one of Euler Project rules is that those who have found a solution accept to not publish it. To be honest, this rule doesn’t apply to problems 1 to 100. Here is what is stated in Project Euler “about” page:
However, the rule about sharing solutions outside of Project Euler does not apply to the first one-hundred problems, as long as any discussion clearly aims to instruct methods, not just provide answers, and does not directly threaten to undermine the enjoyment of solving later problems. Problems 1 to 100 provide a wealth of helpful introductory teaching material and if you are able to respect our requirements, then we give permission for those problems and their solutions to be discussed elsewhere.
But I’m not sure that simply referring to some Project Euler problem without any added value respects the requirements.
--lscrd (talk) 19:53, 5 September 2021 (UTC)


I see your point - I'm not a Project Euler member and was not aware of their request re-solutions to their problems. I agree this is worrying and distasteful.
However, looking at the Sum multiples of 3 and 5 task, it was created in 2013 and has thus been precendent setting for 8 years. Paddy flagged the (possible) Project Euler origin in 2013 but that didn't stop 102 languages providing solutions.
As far as I can see, we have three options (not that it is up to me):

  • Delete all Project Euler related tasks, no matter how many solutions they have and ban such tasks in future.
  • Accept where we are but ban anything from Project Euler in future.
  • Continue in our mis-guided ways.

Unfortunately, I think either the first or second option should be adopted. We should certainly say no-more in future.
--Tigerofdarkness (talk) 20:25, 5 September 2021 (UTC)
I’m a Project Euler member but I didn’t remember the special rule for problems 1 to 100. I found it when I looked more precisely to the rules in the “about” page. As there is some flexibility for these problems, reusing them is not a really a violation of Project Euler rules. And, in fact, if there as discussions about the algorithms, we respect Project Euler requirements.
So, even if I still think than reusing he problem without any added value is a bit unfair, I’m now more forgiving. I suggest that we avoid Project Euler tasks if possible, except if we have some added value to offer. And that in any case, we refuse tasks which are not from the first hundred ones as it would be a clear violation of Project Euler rules. To be honest, this is only a policy position. You can solve any task without being a member and, so, are not committed to follow, even morally, Project Euler rules.
For existing tasks, I finally propose to keep them. At least, the limits of what is acceptable are somewhat more clear.
--lscrd (talk) 21:02, 5 September 2021 (UTC)