Forgot password
 Register account
View 291|Reply 3

水一个PowerMod

[Copy link]

3211

Threads

7832

Posts

52

Reputation

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

764

Threads

4672

Posts

27

Reputation

Show all posts

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

673

Threads

110K

Posts

218

Reputation

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`,等价于居中的题。

764

Threads

4672

Posts

27

Reputation

Show all posts

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

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:42 GMT+8

Powered by Discuz!

Processed in 0.014045 seconds, 23 queries