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

Content added Content deleted
(added RPL)
m (→‎{{header|RPL}}: small loop counter tweak)
Line 2,248: Line 2,248:
+
+
'''END'''
'''END'''
'''IF''' d 2 == '''THEN''' 1 'd' STO '''END'''
d 2 ≠ 1 + '''STEP''' <span style="color:grey">@ generates 2 3 5 7 index sequence</span>
2 '''STEP'''
'''NEXT''' NIP
'''NEXT''' NIP
'''UNTIL''' DUP SIZE NOT '''END'''
'''UNTIL''' DUP SIZE NOT '''END'''