HMMT 二月 2025 · ALGNT 赛 · 第 8 题
HMMT February 2025 — ALGNT Round — Problem 8
题目详情
英文原题
- Define sgn( x ) to be 1 when x is positive, − 1 when x is negative, and 0 when x is 0. Compute
∞
sgn(sin(2 ))Xn
.
2 nn =1
(The arguments to sin are in radians.)
解析
英文解析
- Define sgn( x ) to be 1 when x is positive, − 1 when x is negative, and 0 when x is 0. Compute
∞
sgn(sin(2 ))Xn
.
2 nn =1
(The arguments to sin are in radians.)
Proposed by: Karthik Venkata Vedula
Answer: 1 −2
Solution: Note that each of following is equivalent to the next.πn
• sgn(sin(2 )) = +1.
• 0 < 2 mod 2 π < π .nn
• 0 < mod 2 < 1.2
1π
• The n th digit after the decimal point in the binary representation of is 0.
Similarly, sgn(sin(2 )) = − 1 if and only if the n -th digit after the decimal point in the binary repre-nπn 1
sentation of is 1. In particular, if a is the n -th digit, then sgn(sin(2 )) = 1 − 2 a . Thus, the desiredn nsum isπ
! !
∞ ∞ ∞ ∞
X X X Xnsgn(sin(2 )) 1 − 2 a 1 a 2
n n = = − 2 = 1 − .
n n n n
2 2 2 2 πn =1 n =1 n =1 n =1