Palindromic primes: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: changed a comment.)
Line 17:
if cols>0 then say '───────┼'center("" , 1 + cols*(w+1), '─')
pals= 0; idx= 1 /*define # of palindromic primes & idx.*/
$= /*a list of nice palindromic primes (so far). */
do j=1 for # /*search for palindromic primes. */
if @.j\==reverse(@.j) then iterate /*Not a palindromic prime? Then skip. */
Line 82:
Found 113 palindromic primes that are < 100,000
</pre>
 
 
=={{header|Ring}}==