Multiplicative order: Difference between revisions

m
(corrected/re-copied factors() function)
Line 1,458:
--
-- previous attempts at this task resulted in an infinite loop,
-- so I added a quardguard; feel free to increase limit as needed.
--
integer guard = 0
Line 1,505:
mo_test(17,b)
mo_test(54,100001)
--/* -- this all works fine, but doubles the runtime...
--/*
-- this all works fine, but doubles the runtime...
bigatom b9090 = multiplicative_order(54,100001)
ba_printf(1,"%B\n",b9090)
7,806

edits