Palindromic primes in base 16: Difference between revisions
Content deleted Content added
No edit summary |
J |
||
Line 442: | Line 442: | ||
</pre> |
</pre> |
||
=={{header|J}}== |
|||
<syntaxhighlight lang=J> palindromic16=: (-: |.)@hfd@> |
|||
hfd@> (#~ palindromic16) p: i. p:inv 500 |
|||
2 |
|||
3 |
|||
5 |
|||
7 |
|||
b |
|||
d |
|||
11 |
|||
101 |
|||
151 |
|||
161 |
|||
191 |
|||
1b1 |
|||
1c1</syntaxhighlight> |
|||
=={{header|jq}}== |
=={{header|jq}}== |
||
Line 489: | Line 507: | ||
[449,"1c1"] |
[449,"1c1"] |
||
</pre> |
</pre> |
||
=={{header|Julia}}== |
=={{header|Julia}}== |