Godtone (talk | contribs)
m My Python 3 code: made formatting unitless
Godtone (talk | contribs)
Line 435: Line 435:
|}
|}
<references/>
<references/>
IMPORTANT: there seems to be a bug for subgroup mappings at the moment, pending investigation, but ideally usage of subgroups should be made far easier too:
<syntaxhighlight lang="python">
>>> sg = [2, 3, 7, 11, 13, 17, 19]
>>> [unfact(x,sg) for x in inconsistent_ivs_by_val( [fact(x,sg) for x in odd_lim(21,[5,15],complements=False)], val(sg,ed(104)) )]
[(11, 7), (19, 14), (21, 16), (19, 17), (13, 7), (21, 13), (21, 19), (17, 9), (17, 12), (7, 6), (19, 12), (19, 18), (11, 8), (21, 11), (13, 11), (21, 17), (13, 8), (7, 4), (17, 16), (17, 13), (11, 9), (19, 16), (11, 6), (19, 13), (13, 9), (13, 12), (17, 11), (9, 7), (17, 14), (19, 11)]
</syntaxhighlight>


== My Python 3 code ==
== My Python 3 code ==