若把 b 定义为把 a 整体向左循环平移一位:
bi=ai+1 (1≤i<n),bn=a1.定义两个长度为 n 的排列 x,y 相似,当且仅当对于除区间 [1,n] 外的所有的区间 [l,r]∣(1≦l≦r≦n) ,都有下式成立:
∑i=lrxi=∑i=lryi
Scan the QR code below with WeChat to sign in
First-time scan will create your account automatically
请使用微信扫描下方二维码完成注册