Numbers with prime digits whose sum is 13: Difference between revisions

m
→‎{{header|REXX}}: used a better text when showing the output.
m (→‎{{header|REXX}}: added the computer programming language REXX.)
m (→‎{{header|REXX}}: used a better text when showing the output.)
Line 171:
$= $ j /*append the number to the output list.*/
end /*j*/
 
/*stick a fork in it, we're all done. */
say strip($); say /*display the output list to the term. */
say # ' numbers found.' whose digits are prime and the decimal digits sum to /* " " count of #s " " " */13'</lang>
{{out|output|text=&nbsp; when using the internal default inputs:}}
<pre>
337 355 373 535 553 733 2227 2272 2335 2353 2533 2722 3235 3253 3325 3352 3523 3532 5233 5323 5332 7222 22225 22252 22333 22522 23233 23323 23332 25222 32233 32323 32332 33223 33232 33322 52222 222223 222232 222322 223222 232222 322222
 
43 numbers found. whose digits are prime and the decimal digits sum to 13
</pre>