本帖最后由 wsc810 于 2021-6-23 15:27 编辑
百度贴吧问到的答案
- x = PrimitiveRootList[109]
- y = PowerMod[x, -1, 109]
复制代码
{6, 10, 11, 13, 14, 18, 24, 30, 37, 39, 40, 42, 44, 47, 50, 51, 52, 53, 56, 57, 58, 59, 62, 65, 67, 69, 70, 72, 79, 85, 91, 95, 96, 98, 99, 103}
{91, 11, 10, 42, 39, 103, 50, 40, 56, 14, 30, 13, 57, 58, 24, 62, 65, 72, 37, 44, 47, 85, 51, 52, 96, 79, 95, 53, 69, 59, 6, 70, 67, 99, 98, 18}
- l = Length@x;
- rule = First /[url=home.php?mod=space&uid=6175]@[/url] PositionIndex@x;
- Graphics@GraphicsComplex[CirclePoints@l,
- Line@Append[Append[1]@Range@l][Transpose@{x, y} /. rule]]
复制代码
不知道怎样标注顶点
|