Forgot password?
 Register account
View 327|Reply 3

水一个PowerMod

[Copy link]

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-1-3 22:11 |Read mode
$$7!\mid7^7-2023$$
In[]:= PowerMod[7, 7, 7!]
Out[]= 2023
oeis.org/A063709

Rate

Number of participants 1威望 +1 Collapse Reason
uk702 + 1 精彩!

View Rating Log

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2023-1-6 23:54
后面的代码是啥,就是最上面居中的题?
isee=freeMaths@知乎

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2023-1-7 00:11
isee 发表于 2023-1-6 23:54
后面的代码是啥,就是最上面居中的题?
PowerMod[a,b,m] 就是 `a^b\bmod m`
所以那结果就是说 `7^7\bmod7!=2023`,等价于居中的题。

768

Threads

4685

Posts

310K

Credits

Credits
35004

Show all posts

isee Posted 2023-1-7 10:48 From mobile phone
kuing 发表于 2023-1-7 00:11
PowerMod[a,b,m] 就是 `a^b\bmod m`
所以那结果就是说 `7^7\bmod7!=2023`,等价于居中的题。 ...
mathematica 功能真是多且强
isee=freeMaths@知乎

Mobile version|Discuz Math Forum

2025-6-5 01:06 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit