Forgot password?
 Create new account
View 167|Reply 3

水一个PowerMod

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-1-3 22:11:14 |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

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

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

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

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

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2023-1-7 10:48:52 From the 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|Leisure Math Forum

2025-4-20 22:04 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list