Primes whose first and last number is 3: Difference between revisions

→‎J: add
m (→‎{{header|RPL}}: compact code)
(→‎J: add)
Line 594:
There are 2251 3 x 3 primes below 1000000!
</pre>
 
=={{header|J}}==
<syntaxhighlight lang="j"> (#~ 1&p: *. '3' = {.@":"0) 3 + 10 * i. 1000
3 313 353 373 383 3023 3083 3163 3203 3253 3313 3323 3343 3373 3413 3433 3463 3533 3583 3593 3613 3623 3643 3673 3733 3793 3803 3823 3833 3853 3863 3923 3943</syntaxhighlight>
 
=={{header|jq}}==
559

edits