Prove a number is divisible by a number?

  • Context: MHB 
  • Thread starter Thread starter TinaSprout
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around proving the divisibility of the expression \(7n - 1\) by 6, with participants exploring various methods including proof by induction and the binomial theorem. The conversation includes attempts to clarify the logic and correctness of the approaches taken, as well as the application of modular arithmetic.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant proposes a proof by induction to show that 6 is divisible by \(7n - 1\), starting with a base case and an inductive step.
  • Another participant points out potential mistakes in the initial logic, suggesting that the correct statement to prove is \(6 \mid (7n - 1)\) rather than \(6\) being divisible by \(7n - 6\).
  • There is a discussion about the correct formulation of the inductive step, with suggestions to rewrite expressions to clarify divisibility by 6.
  • Some participants introduce the binomial theorem as an alternative method to prove the divisibility, expressing \(7^n - 1\) in terms of a summation involving binomial coefficients.
  • Modular arithmetic is mentioned as a method to show that \(7^n - 1 \equiv 0 \pmod{6}\), with a participant asking for a detailed explanation of this concept.
  • General properties of modular arithmetic are discussed, including how they relate to divisibility.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the initial proof approach, with some agreeing on the need for clarification and correction, while others introduce alternative methods without reaching a consensus on a single approach.

Contextual Notes

The discussion includes various assumptions about the expressions and methods used, with some participants noting missing parentheses or steps in the proof. The reliance on definitions and properties of modular arithmetic is acknowledged but not fully resolved.

TinaSprout
Messages
2
Reaction score
0
I am attempting to solve the problem to prove 6 is divisible by 7n-6 Is my logic all correct If it is, i can use it on similar problems!

Proof by induction:
Base case 6 is divisible by 71-1 True! We can continue

Step 2: Assume n=k is true, prove k+1 is true.
Since n=k is true, 6m = 7k-1
therefore, 7k = 6m+1

6 | 7k+1 -1
6 | 7 * 7k -1
6 | 7 * 6m + 1 - 1 (substitute 7k for 6m+1)
6 | 6m * 7
Any multiple of 6 must be divisible by 6.

I feel like I am mistaken somewhere, so feel free to correct me if I'm going on the wrong direction,
Thank You!
 
Mathematics news on Phys.org
TinaSprout said:
I am attempting to solve the problem to prove 6 is divisible by 7n-6 Is my logic all correct If it is, i can use it on similar problems!

Hey Tina! ;)

Your general approach is correct.
It's just that I see a couple of mistakes in there.

For starters, isn't it '6 divides 7n-1' that you want to prove instead of '6 is divisible by 7n-6'?

TinaSprout said:
Proof by induction:
Base case 6 is divisible by 71-1 True! We can continue

Step 2: Assume n=k is true, prove k+1 is true.
Since n=k is true, 6m = 7k-1
therefore, 7k = 6m+1

6 | 7k+1 -1

This is what we want to prove, so we cannot write it as if we already know it's true.
Instead we should write '7k+1 -1' and try to rewrite this expression such that is becomes obvious that it's divisible by 6.

TinaSprout said:
6 | 7 * 7k -1
6 | 7 * 6m + 1 - 1 (substitute 7k for 6m+1)

I'm missing a couple of parentheses here when doing the substitution.
Shouldn't it be 7 * (6m + 1) - 1? (Wondering)

TinaSprout said:
6 | 6m * 7
Any multiple of 6 must be divisible by 6.

I feel like I am mistaken somewhere, so feel free to correct me if I'm going on the wrong direction,
Thank You!

What we should have is:
$$7^{k+1} -1 = 7 \cdot 7^k -1 = 7 \cdot (6m + 1) - 1 = 7\cdot 6m + 6 = 6(7m + 1)$$
Since this is divisible by 6, it completes the induction step.

Therefore 6 divides 7n-1.
 
Another approach would be to use the binomial theorem:

$$7^n-1=(6+1)^n-1=6\sum_{k=1}^{n}\left({n \choose k}6^{k-1}\right)$$
 
MarkFL said:
Another approach would be to use the binomial theorem:

$$7^n-1=(6+1)^n-1=6\sum_{k=1}^{n}\left({n \choose k}6^{k-1}\right)$$

Ah, but we can also calculate modulo 6 (which admittedly relies on the binomial theorem):

$$7^n - 1 \equiv 1^n -1 \equiv 0 \pmod 6$$
 
I like Serena said:
$$7^n - 1 \equiv 1^n -1 \equiv 0 \pmod 6$$

Hi I like Serena. Could you give a detailed explanation?
 
greg1313 said:
Hi I like Serena. Could you give a detailed explanation?

It's part of Modular Arithmetic.

We write $a\equiv b \pmod n$ if there is some integer $k$ such that $a=b+kn$.
That is, $a$ and $b$ are the same except possibly for a multiple of $n$.

This equivalency has a number of properties.
The most notable ones are:

$$a \equiv 0 \pmod n \quad\Leftrightarrow\quad n \mid a \qquad \text{(that is, }n\text{ divides }a\text{)}$$

$$a + b \equiv (a \bmod n) + (b \bmod n) \pmod n$$

$$a \cdot b \equiv (a \bmod n) \cdot (b \bmod n) \pmod n$$

$$a^m \equiv (a \bmod n)^m \pmod n$$

$$a^m \equiv a^{m \bmod \phi(n)} \pmod n\quad$$ if $\gcd(a,n)=1$ and where $\phi(n)$ is Euler's totient function.There are more advanced theorems like the Chinese Remainder Theorem and the Quadratic Residue with the corresponding Legendre symbol $\left(\frac ap\right)$.
But those are quite a bit harder to grasp.
 
Ah, so in general $(x^k-1)\equiv0\pmod{x-1}$.
 
greg1313 said:
Ah, so in general $(x^k-1)\equiv0\pmod{x-1}$.

Yep! (Nod)

(And I guess you've noticed that $\LaTeX$ is chockful with support for modulo operations like \pmod and \bmod. ;))
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 55 ·
2
Replies
55
Views
6K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
6K