小编bil*_*lbo的帖子

如何计算^^ b mod m?

我必须为a,b,m <2 ^ 32的大值有效地计算^^ b mod m,
其中^^是tetration运算符:2 ^^ 4 = 2 ^(2 ^(2 ^ 2))

m不是素数而不是10的幂.

你能帮我吗?

algorithm math number-theory

9
推荐指数
1
解决办法
1976
查看次数

标签 统计

algorithm ×1

math ×1

number-theory ×1