PYECM(1)
β¨ PYECM(1) β¨
okay bestie, welcome to the pyecm manual β section 1 of the General Commands Manual, the one you read when you're tryna factor numbers and the numbers are being <em>a lot</em>. π let's get into it π
πΈ NAME πΈ
pyecm β number factorization with the Elliptic Curve Method. she factors. she's an icon. that's the whole job. π¦
π SYNOPSIS π
pyecm [OPTIONS] [FACTORS]...
like. that's it. that's the shape of her. β¨
π DESCRIPTION π
so pyecm factors numbers using the Elliptic Curve Method (ECM). if you hand her some FACTORS, she'll factor each and every one of them, one by one, no complaints. if you don't hand her anything? she reads from standard input instead, like a chill girl who's fine either way. π«Ά
and ooh β you can type "exit" at any time to quit pyecm. literally any time. she's not clingy. π
π the flags, bestie π
-h,--helpβ get help usingpyecm. she'll tell you what's up. π--portion=numβ does only part of the work for factoring, corresponding to what fraction of the total work the machine is doing. this is the parallel-girlie flag. say you've got three machines: 1GHz, 1GHz, and 2GHz β then you'd set this to0.25for the two 1GHz machines and0.5for the 2GHz machine. it implies-rand-v, and there's a reason for that:-ris needed to avoid duplicating work and-vis needed to report results. no notes. π₯--ov=numβ sets the value of the internal parameterov, which determines the trade-off between memory and time usage. > β οΈ do not touch this if you do not know what you are doing. please read all the documentation and understand the full implications of the parameter before using this switch. i'm serious bestie, this is the "trust me you don't want to" flag. π-n,--noverboseβ terse. on by default, lowkey. needed to cancel the-vfrom the--portionor--randomswitches. if both-nand-vare specified, the one specified last takes precedence. last one in the group chat wins, periodt. π-r,--randomβ chooses random values forsigma, an internal parameter in the calculation. implies-v, because honestly? if you're doing something random, you want to know what's happening. correct. valid. iconic. π-v,--verboseβ explains what is being done with intermediate calculations and results. she'll narrate. main character energy fr fr. π
β EXAMPLES β
pyecm 2^3-1 1000 "(3^13+2)*5"
factor 7, 1000, then 7971625. look at her go. ate. π
pyecm
get factors from standard input. just vibes, just numbers. β¨
π¦ AUTHOR π¦
written by Eric Larson and Martin Kelly. kings. π
π REPORTING BUGS π
please send bugs to Eric Larson <elarson3@uoregon.edu>. be nice about it, he's doing his best. π«Ά
and that's the whole page, bestie β you just read pyecm version 2.0.2 of the PYECM(1) manual. go factor something cute. bye bestie πβ¨π
π¦ where this page comes from
- debian bookworm: pyecm 2.0.5-2 Β· GPL-2.0-or-later
- debian trixie: pyecm 2.0.5-2 Β· GPL-2.0-or-later
- ubuntu jammy: pyecm 2.0.3-1 Β· GPL-2.0-or-later
- ubuntu noble: pyecm 2.0.5-2 Β· GPL-2.0-or-later
- ubuntu questing: pyecm 2.0.5-2
- ubuntu resolute: pyecm 2.0.5-3 Β· GPL-2.0-or-later
- ubuntu stonking: pyecm 2.0.5-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms