Blum integer: Difference between revisions
Content added Content deleted
(add RPL) |
(→{{header|RPL}}: comment on the FACTORS command) |
||
Line 1,198: | Line 1,198: | ||
Blum integers are necessarily of the form 4k + 21, which allows to speed up the quest. |
Blum integers are necessarily of the form 4k + 21, which allows to speed up the quest. |
||
{{works with|HP|49}} |
{{works with|HP|49}} |
||
≪ FACTORS <span style="color:grey">@ n FACTORS returns { p1 n1 p2 n2 .. } for n = p1<sup>n1</sup> * p2<sup>n2</sup> * ..</span> |
|||
≪ FACTORS |
|||
'''CASE''' |
'''CASE''' |
||
DUP SIZE 4 ≠ '''THEN''' DROP 0 '''END''' |
DUP SIZE 4 ≠ '''THEN''' DROP 0 '''END''' |