Forgot password
 Register account
View 123|Reply 1

请教幂和形式的表达式,怎么将指数模一个数s?

[Copy link]

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2023-12-1 19:56 |Read mode
  1. Sum[z^k, {k, 0, 102}]
Copy the Code
如上代码,我现在知道$z^{13}=a$,然后我想把那个代码的结果化简,就是要把那些指数都做模13运算,最后得到的结果可以含a和z的幂,请教这个用Mathematica要怎么做?

414

Threads

1641

Posts

15

Reputation

Show all posts

original poster abababa posted 2023-12-1 20:04
会了,直接在指数上取模就行了:
  1. Sum[z^(Mod[k,13]),{k,0,102}]
Copy the Code

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:52 GMT+8

Powered by Discuz!

Processed in 0.010818 seconds, 22 queries