Anonymous user
Numbers with prime digits whose sum is 13: Difference between revisions
Numbers with prime digits whose sum is 13 (view source)
Revision as of 22:38, 29 September 2020
, 3 years ago→{{header|REXX}}: changed a comment, aligned some statements.
m (→{{header|REXX}}: changed some comments.) |
m (→{{header|REXX}}: changed a comment, aligned some statements.) |
||
Line 192:
end /*k*/
if sum\==13 then iterate /*Sum not equal to 13? Then skip this #*/
#= # + 1; $= $ j
end /*j*/
say strip($);
say # ' decimal numbers found whose digits are prime and the decimal digits sum to 13'</lang>
{{out|output|text= when using the internal default inputs:}}
|