The Year with so Many Things.

Calculus Level 3

log 2 a = 1 2019 b = 1 2019 ( 1 + e 2 π i a b 2019 ) \log_2 \displaystyle\prod_{a=1}^{2019} \displaystyle\prod_{b=1}^{2019}\Big(1+e^{\frac{2\pi iab}{2019}}\Big)


The answer is 6725.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Hana Wehbi
Nov 16, 2019

We first claim that if n n is odd, then b = 1 n ( 1 + e 2 π i a b / n ) = 2 gcd ( a , n ) \prod_{b=1}^{n} (1+e^{2\pi i ab/n}) = 2^{\gcd(a,n)} . To see this, write d = gcd ( a , n ) d = \gcd(a,n) and a = d a 1 a = da_1 , n = d n 1 n=dn_1 with gcd ( a 1 , n 1 ) = 1 \gcd(a_1,n_1) = 1 .

Then a 1 , 2 a 1 , , n 1 a 1 a_1, 2a_1,\dots,n_1 a_1 modulo n 1 n_1 is a permutation of 1 , 2 , , n 1 1,2,\dots,n_1 modulo n 1 n_1 , and so ω a 1 , ω 2 a 1 , , ω n 1 a 1 \omega^{a_1},\omega^{2a_1},\dots,\omega^{n_1 a_1} is a permutation of ω , ω 2 , , ω n 1 \omega,\omega^2,\ldots,\omega^{n_1} ;

it follows that for ω = e 2 π i / n 1 \omega = e^{2\pi i/n_1} , we have:

b = 1 n 1 ( 1 + e 2 π i a b / n ) = b = 1 n 1 ( 1 + e 2 π i a 1 b / n 1 ) = b = 1 n 1 ( 1 + ω b ) . \prod_{b=1}^{n_1} (1+e^{2\pi i a b/n}) = \prod_{b=1}^{n_1} (1+e^{2\pi i a_1 b/n_1}) = \prod_{b=1}^{n_1} (1+\omega^b).

Now since the roots of z n 1 1 z^{n_1}-1 are ω , ω 2 , , ω n 1 \omega,\omega^2,\ldots,\omega^{n_1} ,

it follows that: z n 1 1 = b = 1 n 1 ( z ω b ) z^{n_1}-1 = \prod_{b=1}^{n_1} (z-\omega^b) . Setting z = 1 z=-1 and using the fact that n 1 n_1 is odd gives b = 1 n 1 ( 1 + ω b ) = 2 \prod_{b=1}^{n_1} (1+\omega^b) = 2 .

Finally, b = 1 n ( 1 + e 2 π i a b / n ) = ( b = 1 n 1 ( 1 + e 2 π i a b / n ) ) d = 2 d \prod_{b=1}^{n} (1+e^{2\pi i ab/n}) = (\prod_{b=1}^{n_1} (1+e^{2\pi i ab/n}))^d = 2^d , and we have proven the claim.

From the claim we find that:

log 2 ( a = 1 2019 b = 1 2019 ( 1 + e 2 π i a b / 2019 ) ) = a = 1 2019 log 2 ( b = 1 2019 ( 1 + e 2 π i a b / 2019 ) ) = a = 1 2019 gcd ( a , 2019 ) . \begin{aligned} &\log_2 \left( \prod_{a=1}^{2019} \prod_{b=1}^{2019} (1+e^{2\pi i a b/2019}) \right) \\ &= \sum_{a=1}^{2019} \log_2 \left(\prod_{b=1}^{2019} (1+e^{2\pi i a b/2019}) \right) \\ &= \sum_{a=1}^{2019} \gcd(a,2019). \end{aligned}

Now for each divisor d d of 2019 2019 , there are ϕ ( 2019 / d ) \phi(2019/d) integers between 1 1 and 2019 2019 inclusive whose gcd \gcd with 2019 2019 is d d . Thus a = 1 2019 gcd ( a , 2019 ) = d 2019 d ϕ ( 2019 / d ) . \sum_{a=1}^{2019} \gcd(a,2019) = \sum_{d|2019} d\cdot \phi(2019/d). We factor 2019 = p q 2019 = pq with p = 3 p=3 and q = 673 q= 673 , and calculate:

\(\begin{align*} &\sum_{d|pq} d\cdot \phi(pq/d) \\ &= 1 \cdot (p-1)(q-1) + p \cdot (q-1) + q\cdot (p-1) + pq \cdot \\

&\quad = (2p-1)(2q-1)= (2\times 3-1)(2\times 673 -1)=6725. \end{align*}\)

It is worth noting that we are calculating the Dirichlet convolution i φ i \star \varphi of the function i ( n ) = n i(n) = n and φ \varphi . Since both i i and φ \varphi are multiplicative, so is i φ i \star \varphi . Since ( i φ ) ( p ) = p × 1 + 1 × ( p 1 ) = 2 p 1 (i \star \varphi)(p) = p \times 1 + 1 \times (p-1) = 2p-1 for any prime p p , we get the answer for 2019 = 3 × 673 2019 = 3\times673 . The fact that i φ i \star \varphi is multiplicative would make the calculation of the result for a different year much easier.

Mark Hennings - 1 year, 6 months ago

Thank you for the comment.

Hana Wehbi - 1 year, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...