Factors of an integer: Difference between revisions

Content added Content deleted
(J: use a more structurally illustrative examples and some other changes to hopefully make the concepts clearer)
mNo edit summary
Line 1,357: Line 1,357:
factor(999, [1,3,9,27,37,111,333,999])
factor(999, [1,3,9,27,37,111,333,999])
factor(12345678, [1,2,3,6,9,18,47,94,141,282,423,846,14593,29186,43779,87558,131337,262674,685871,1371742,2057613,4115226,6172839,12345678])</nowiki></pre>
factor(12345678, [1,2,3,6,9,18,47,94,141,282,423,846,14593,29186,43779,87558,131337,262674,685871,1371742,2057613,4115226,6172839,12345678])</nowiki></pre>

=={{header|МК-61/52}}==

<pre>
П9 1 П6 КИП6 ИП9 ИП6 / П8 ^ [x]
x#0 21 - x=0 03 ИП6 С/П ИП8 П9 БП
04 1 С/П БП 21
</pre>


=={{header|MUMPS}}==
=={{header|MUMPS}}==
Line 2,218: Line 2,226:
57096 = 2 * 2 * 2 * 3 * 3 * 13 * 61
57096 = 2 * 2 * 2 * 3 * 3 * 13 * 61
57097 = 57097
57097 = 57097
</pre>

=={{header|МК-61/52}}==

<pre>
П9 1 П6 КИП6 ИП9 ИП6 / П8 ^ [x]
x#0 21 - x=0 03 ИП6 С/П ИП8 П9 БП
04 1 С/П БП 21
</pre>
</pre>