The problem $\sum\limits_{n=1}^{1009} \gcd(2n, 2020) - \sum\limits_{n=0}^{1008} \gcd(2n+1, 2019)$, has stumped me for a while. I plugged it into Wolfram Alpha, and got a 4-digit number. However, I have seen no feasible solutions, as I tried casework bashing, by taking the prime factorization and playing with numbers. Can someone tell me if this has no nice way to solve it without calculus? If there is a nice way, may someone help me out?
2026-03-25 06:06:31.1774418791
Sums with gcd $\sum_{n=1}^{1009} \gcd(2n, 2020) - \sum_{n=0}^{1008} \gcd(2n+1, 2019)$
317 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in SUMMATION
- Computing:$\sum_{n=0}^\infty\frac{3^n}{n!(n+3)}$
- Prove that $1+{1\over 1+{1\over 1+{1\over 1+{1\over 1+...}}}}=\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+...}}}}$
- Fourier series. Find the sum $\sum_{n=1}^\infty \frac{(-1)^{n+1}}{2n+1}$
- Sigma (sum) Problem
- How to prove the inequality $\frac{1}{n}+\frac{1}{n+1}+\cdots+\frac{1}{2n-1}\geq \log (2)$?
- Double-exponential sum (maybe it telescopes?)
- Simplify $\prod_{k=1}^{l} \sum_{r=d}^m {{m}\choose{r}} \left(N-k \right)^{r} k^{m-r+1}$
- Sum of two martingales
- How can we prove that $e^{-jωn}$ converges at $0$ while n -> infinity?
- Interesting inequalities
Related Questions in GCD-AND-LCM
- How do I show that if $\boldsymbol{a_1 a_2 a_3\cdots a_n \mid k}$ then each variable divides $\boldsymbol k $?
- GCD of common divisors in integral domain
- How do I solve this difficult gcd question?
- Fractions of the form $\frac{a}{k}\cdot\frac{b}{k}\cdot\frac{c}{k}\cdots=\frac{n}{k}$
- Why can't be a number the gcd of two numbers?
- Prove that if $\gcd(m, n) > 1$, then there do not exist integers $x, y$ so that $mx + ny = 1$.
- Least number of cuts to share sausages equally
- For $f \in \mathbb{Z}[x]$ , $\deg(\gcd_{\mathbb{Z}_q}(f, x^p - 1)) \geq \deg(\gcd_{\mathbb{Q}}(f, x^p - 1))$
- GCD as linear combination of two numbers
- A question regarding greatest common divisor
Related Questions in TELESCOPIC-SERIES
- Double-exponential sum (maybe it telescopes?)
- Calculate the sum of the series: $\sum\limits_{n=1}^{\infty}\left ( \frac{3}{n^{2}+n}-\frac{2}{4n^{2}+16n+15} \right )$
- Squared Summation(Intermediate Step)
- Another solution.
- I am stuck on a question Algebra:Sequence and series
- What is the closed form of the sequence : $ a_{n+2} = 2a_{n+1}-a_n+2^n+2 $
- Find the closed form of $u_{n+1}=a_nu_n+b_n$
- Want to understand how a fraction is simplified
- Evaluate a sum which almost looks telescoping but not quite:$\sum_{k=2}^n \frac{1}{k(k+2)}$
- Compute the values of the Double Sum
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
I'll start with the first sum.
First, note that $2020 = 20\cdot 101$ and $101$ is prime. Thus as long as $2n$ is not a multiple of $101$, $\gcd(2n, 2020) = \gcd(2n, 20)$. It's easy to compute this GCD for $n$ from $1$ to $10$: $$ \begin{array}{c|cccccccccc} n&1&2&3&4&5&6&7&8&9&10\\ \gcd(2n,20)&2&4&2&4&10&4&2&4&2&20 \end{array} $$ Since the sum of these values is $54$ and they repeat with period $10$, the sum of $\gcd(2n,20)$ for $1 \le n \le 1009$ is $101\cdot 54 - 20 = 5434$ ($101$ repetitions, except $n=1010$ is left out).
It only remains to correct those terms where $n$ is a multiple of $101$; i.e., for $n = 101, 202, \ldots, 909$. In each case, the $\gcd(2n,2020)=101\gcd(2n,20)$, and these values of $n$, when reduced mod $10$, correspond to the first nine in the table. So the sum of $\gcd(2n,2020)$ for these nine values of $n$ is $101\cdot 34 = 3434$ while the sum of $\gcd(2n,20)$ for the same values was $34$. The difference is $3400$, which, added to the previous total, yields the final answer of $8834$.
For the second sum, the prime factorization of $2019$ is $3\cdot 673$. Thus $\gcd(2n+1,2019) = \gcd(2n+1,3)$ when $2n+1$ is not a multiple of $673$; for $0\le n\le 1008$, the only exception is when $2n+1=673$ (i.e., $n=336$). Here are the first few values, which repeat with period $3$: $$ \begin{array}{c|ccc} n&0&1&2\\ \gcd(2n+1,3)&1&3&1 \end{array} $$ Thus the sum of $\gcd(2n+1,3)$ for $0 \le n \le 1008$ is $336\cdot 5 + 1 = 1681$ ($336$ repetitions, plus $n=1008$). Correcting for the case $2n+1 = 673$ changes a $1$ to a $673$, so the final sum is $1681 + 672 = 2353$.
Finally, the difference between the two sums is $8834 - 2353 = 6481$.