1. **Define the set T and the problem constraints:**
Given p≥5 is a prime number, and M={1,2,…,p−1}. Define the set
T={(n,xn):p∣nxn−1 and n,xn∈M}.
We need to determine the value of k such that
(n,xn)∈T∑n⌊pnxn⌋≡k(modp),
where 0≤k≤p−1 and ⌊α⌋ denotes the largest integer not exceeding α.
2. **Identify the relationship between n and xn:**
Since p∣nxn−1, we have nxn≡1(modp). This implies xn≡n−1(modp), where n−1 is the modular inverse of n modulo p.
3. **Symmetry in the set T:**
Note that for each n∈M, there exists a unique xn∈M such that nxn≡1(modp). Also, for n∈M, xp−n=p−xn.
4. Sum transformation:
Consider the sum
n=1∑p−1n⌊pnxn⌋.
Since nxn≡1(modp), we have pnxn−1 is an integer. Thus,
⌊pnxn⌋=pnxn−1.
5. Simplify the sum:
n=1∑p−1n⌊pnxn⌋=n=1∑p−1n⋅pnxn−1.
This can be rewritten as:
n=1∑p−1pn2xn−n.
6. Pairing terms:
Pair the terms n and p−n:
n=1∑p−1pn2xn−n+(p−n)2(p−xn)−(p−n).
Simplify the expression inside the sum:
pn2xn−n+(p−n)2(p−xn)−(p−n)=pn2xn−n+(p2−2pn+n2)(p−xn)−(p−n).
7. Further simplification:
=pn2xn−n+p3−p2xn−2p2n+2pnxn+n2p−p−p+n.
Combine like terms:
=pp3−p2xn−2p2n+2pnxn+n2p−p.
8. Final simplification:
=p2−pxn−2pn+2nxn+n2−1.
Summing over n from 1 to p−1:
n=1∑p−1(p2−pxn−2pn+2nxn+n2−1).
9. **Modulo p simplification:**
Since p2≡0(modp) and pxn≡0(modp):
n=1∑p−1(2+n2−1)=n=1∑p−1(n2+1).
10. Sum of squares and constants:
n=1∑p−1n2=6(p−1)p(2p−1),
and
n=1∑p−11=p−1.
11. Combine results:
n=1∑p−1(n2+1)=6(p−1)p(2p−1)+(p−1).
12. **Final modulo p calculation:**
6(p−1)p(2p−1)+(p−1)≡6(p−1)(2p−1)+(p−1)(modp).
Simplify:
6(p−1)(2p−1+6)=6(p−1)(2p+5).
Since 2p+5≡2p+5(modp):
6(p−1)(2p+5)≡6(p−1)(2p+5)(modp).
13. Final result:
k=2p−1.
The final answer is 2p−1.