Blum integer: Difference between revisions

→‎{{header|RPL}}: comment on the FACTORS command
(add RPL)
(→‎{{header|RPL}}: comment on the FACTORS command)
Line 1,198:
Blum integers are necessarily of the form 4k + 21, which allows to speed up the quest.
{{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'''
DUP SIZE 4 ≠ '''THEN''' DROP 0 '''END'''
1,150

edits