Given the natural numbers $bbb\dots b$ ($n$ digits equal to $b$) and $bbb\dots b$ ($m$ digits equal to $b$), show that the greatest common divisor of these numbers is $bbb\dots b$ ($M$ digits equal to $b$, where $M$ is the greatest common divisor of $n$ and $m$).
2026-04-06 21:42:22.1775511742
$\gcd(bbb\dots b, bbb\dots b)$
229 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- Show that $(x,y,z)$ is a primitive Pythagorean triple then either $x$ or $y$ is divisible by $3$.
- About polynomial value being perfect power.
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Reciprocal-totient function, in term of the totient function?
- What is the smallest integer $N>2$, such that $x^5+y^5 = N$ has a rational solution?
- Integer from base 10 to base 2
- How do I show that any natural number of this expression is a natural linear combination?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
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
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?
Hint $ $ The Euclidean algorithm computing their GCD mimics that for $\rm\: gcd(m,n)\:$.
Put $\rm\ {}^n1\: :=\ 1\cdots 1\ \ (n\ 1's)\ =\ (10^n-1)/9\:.\ $ Then your gcd is $\rm\ b\ gcd({}^m1,\:{}^n1) $
But $\rm\ {}^m1-{}^n1\ =\ {}^{m-n}1\cdot 10^n\ \ \ $ [e.g. $\rm\ 11111 - 111\ =\ 11000\ =\ {}^21\cdot 10^3\ $]
and $\rm\ gcd(10,{}^n1) = 1\ $ since $\rm\ {}^n1\cdot 9 \ =\ 10^n-1\ $ and $\rm\ \rm\ gcd(10,\:10^n-1) = 1\:$.
Hence, choosing notation so that $\rm\:m\ge n\:,\ $ and applying the above observations we have
$\quad\ \ \ \rm gcd({}^m1,{}^n1)\ =\ gcd({}^m1-{}^n1,\:{}^n1)\ =\ gcd({}^{m-n}1\cdot 10^n,\:{}^n1)\ =\ gcd({}^{m-n}1\:,\:{}^n1)$
so $\rm\,\ \ gcd({}^m1,{}^n1)\ =\ gcd({}^{m-n}1\:,\:{}^n1)\ $ just like $\rm\ gcd(m,n)\ =\ gcd(m-n,n)\: $.
so $\,\rm\ \ gcd({}^m1,{}^n1)\ =\ {}^{gcd(m,n)}1\ $ follows from the above by a simple induction.
For a full proof and some further insight see my posts in this prior question, which proves that $$\begin{align} \gcd(10^m-1,10^n-1) &\,=\, 10^{\gcd(m,n)}-1\\[.2em] {\rm i.e.}\ \ \gcd(\, \color{#c00} {}^m1\cdot\color{#c00} 9,\ \ \ \ \color{#c00}{}^n1\cdot\color{#c00} 9 ) &\,=\,\ \ \ {}^{\gcd(n,m)}1\cdot\color{#c00}9\end{align}\qquad$$ so OP follows by cancelling $\,\color{#c00}9\,$ then scaling by $\,\color{#c00}b\,$ (using $\,\gcd(j\color{#c00}c,k\color{#c00}c) = \gcd(j,k)\color{#c00}c\,$ by the gcd distributive law).