Anonymous user
Palindromic primes: Difference between revisions
m
→{{header|REXX}}: changed a comment.
m (→{{header|REXX}}: changed how to find the maximum palindromic prime.) |
m (→{{header|REXX}}: changed a comment.) |
||
Line 452:
$= /*a list of palindromic primes (so far)*/
do j=1 for hi /*search for palindromic primes. */
if \!.j then iterate /*Is this number
if j\==reverse(j) then iterate /*Not a palindromic prime? " "
finds= finds + 1 /*bump the number of palindromic primes*/
if cols<0 then iterate /*Build the list (to be shown later)? */
|