Rare numbers: Difference between revisions

(added langur language example)
Line 3,393:
 
=={{header|langur}}==
 
== not optimized ==
It could look something like the following (ignoring whatever optimizations the other examples are using), if it was fast enough. I did not have the time/processor to test finding the first 5. The .israre() function returns the right answer, tested with individual numbers.
 
1,007

edits