Jump to content

Find prime n such that reversed n is also prime: Difference between revisions

→‎J: add
(→‎{{header|RPL}}: straightforward approach)
(→‎J: add)
Line 739:
359 373 383 389</pre>
 
=={{header|J}}==
<syntaxhighlight lang="j"> (#~ 1 p: |. &.: ":"0) p: i. _1 p: 500
2 3 5 7 11 13 17 31 37 71 73 79 97 101 107 113 131 149 151 157 167 179 181 191 199 311 313 337 347 353 359 373 383 389</syntaxhighlight>
 
=={{header|jq}}==
559

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.