Блог пользователя Noobish_Monk

Автор Noobish_Monk, история, 7 месяцев назад, По-английски

Hi everyone!

I need some help with the problem 2147G - Modular Tetration. In the editorial there is this identity

$$$\sum_{x|\varphi(m), rad(x) | k} cnt(x) = \sum_{d_1| q_1^{\beta_1}, \ldots , d_t | q_t^{\beta_t}} \prod \varphi(d_i)$$$

Where $$$k$$$ is a square-free number with $$$gcd(k, m) = 1$$$ and $$$k | \varphi(m)$$$. $$$cnt(x)$$$ is the number of remainders $$$1 \le a \lt m$$$ for which $$$ord_m(a) = x$$$. $$$k = q_1 q_2 \ldots q_t$$$ and $$$\beta_i$$$ is the exponent of $$$q_i$$$ in $$$\varphi(m)$$$

It is some counting in 2 ways, as far as I understand. I tried to prove this for several days, now I am desperate to know the proof since the editorial mentions this as something obvious and the author of the problem doens't respond.

  • Проголосовать: нравится
  • +42
  • Проголосовать: не нравится

»
7 месяцев назад, скрыть # |
Rev. 2  
Проголосовать: нравится +36 Проголосовать: не нравится

(Today I learned that $$$rad$$$ stands for radical ...)

$$$\begin{align*} \sum_{x|\varphi(m), rad(x) | k} cnt(x) &=\sum_{x|\varphi(m), rad(x) | k} \varphi(x)\\ &=\sum_{d_1,\dots,d_t}\varphi(\prod d_i)\\ &=\sum_{d_1,\dots,d_t}\prod \varphi(d_i) \end{align*}$$$

(UPD: see corrected version below, it's not true that $$$cnt(x)=\varphi(x)$$$ ...)

  • »
    »
    7 месяцев назад, скрыть # ^ |
     
    Проголосовать: нравится +15 Проголосовать: не нравится

    Isn't $$$cnt(x) = \varphi(x)$$$ only true for odd prime powers?

    • »
      »
      »
      7 месяцев назад, скрыть # ^ |
      Rev. 7  
      Проголосовать: нравится +11 Проголосовать: не нравится

      Oh you're totally right, and now I don't know where that first equality in the analysis is coming from ...

      But the conclusion should still be true via a different series of equalities (hopefully making sense this time?). I am going to avoid using $$$\text{cnt}$$$ here because I think it only introduces confusion ...

      Here let

      • $$$m=\prod p_i^{e_i}$$$
      • $$$\text{keep}(x,k)$$$ denote the value of $$$x$$$ after dividing out all primes from $$$x$$$ that do not divide $$$k$$$

      Then

      $$$ \begin{align*} &\sum_{x|\varphi(m), rad(x) | k} cnt(x)\\ &=|\{0 \lt a \lt m, \gcd(a,m)=1, \text{rad}(\text{ord}_m(a))|k\}|\\ &=\prod_{p_i}|\{0 \lt a \lt p_i^{e_i}, \gcd(a,p_i^{e_i})=1, \text{rad}(\text{ord}_{p_i^{e_i}}(a))|k\}|\\ &=\prod_{p_i}\text{keep}(\varphi(p_i^{e_i}), k)\\ &=\text{keep}(\varphi(m), k)\\ &=\prod_{q_i} q_i^{\beta_i} \end{align*} $$$

      The second equality holds by CRT and LCM of orders. The third equality holds for odd $$$p_i$$$ due to the existence of a primitive root modulo $$$p_i^{e_i}$$$, and $$$p_i=2$$$ via a separate argument.

      (Note: I don't think $$$\gcd(k,m)=1$$$ is required anywhere in this argument.)

  • »
    »
    7 месяцев назад, скрыть # ^ |
    Rev. 4  
    Проголосовать: нравится +10 Проголосовать: не нравится

    I also see that all these formulas converge to $$$k' = \Pi q_i^{\beta_i}$$$. Is this connected to the fact that $$$x^{k'} = 1 (mod m)$$$ has exactly $$$k'$$$ solutions? And for which $$$k'$$$ does this work, since $$$m$$$ arbitrary modulo. I'm still interested in how you derive the first step though :)

    • »
      »
      »
      7 месяцев назад, скрыть # ^ |
      Rev. 2  
      Проголосовать: нравится +11 Проголосовать: не нравится

      When $$$m$$$ is an odd prime power, this holds for all $$$k'|\varphi(m)$$$.

      For general $$$m$$$, it doesn't necessarily hold for all $$$k'|\varphi(m)$$$, but it always holds when $$$k'=\text{keep}(\varphi(m),k)$$$ for some $$$k$$$.

»
7 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by Noobish_Monk (previous revision, new revision, compare).