Primality by trial division: Difference between revisions
Content added Content deleted
m (→{{header|R}}: replaced buggy implementation (according to it 3 is not prime...). Mind the bounds in seq.) |
m (→{{header|R}}) |
||
Line 3,407:
=={{header|R}}==
<lang
which(sapply(1:100, is.prime))
|