Proving divisibility by $3$
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
For all integers $a$, there exists an integer $b$ so that $3 | a + b$ and $3 | 2a + b$.
So far I have been able to find an integer $b$ that satisfies both of them separately, but not at the same time. (For the first one I have $b = 6-a$, and for the second I've found $12-2a$)
discrete-mathematics
add a comment |Â
up vote
3
down vote
favorite
For all integers $a$, there exists an integer $b$ so that $3 | a + b$ and $3 | 2a + b$.
So far I have been able to find an integer $b$ that satisfies both of them separately, but not at the same time. (For the first one I have $b = 6-a$, and for the second I've found $12-2a$)
discrete-mathematics
3
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
How would I prove that though?
â mil236
Aug 18 at 4:52
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
For all integers $a$, there exists an integer $b$ so that $3 | a + b$ and $3 | 2a + b$.
So far I have been able to find an integer $b$ that satisfies both of them separately, but not at the same time. (For the first one I have $b = 6-a$, and for the second I've found $12-2a$)
discrete-mathematics
For all integers $a$, there exists an integer $b$ so that $3 | a + b$ and $3 | 2a + b$.
So far I have been able to find an integer $b$ that satisfies both of them separately, but not at the same time. (For the first one I have $b = 6-a$, and for the second I've found $12-2a$)
discrete-mathematics
edited Aug 18 at 4:58
apanpapan3
1231211
1231211
asked Aug 18 at 4:43
mil236
211
211
3
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
How would I prove that though?
â mil236
Aug 18 at 4:52
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57
add a comment |Â
3
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
How would I prove that though?
â mil236
Aug 18 at 4:52
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57
3
3
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
How would I prove that though?
â mil236
Aug 18 at 4:52
How would I prove that though?
â mil236
Aug 18 at 4:52
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57
add a comment |Â
4 Answers
4
active
oldest
votes
up vote
2
down vote
The statement is not true. Here is a counter example: $a=1$. In order for $3vert a+b$, we must have that $3k = a+b=1+b$ for some integer $k$. On the other hand, in order for $3vert 2a+b$, we must have that $3k' =2a+b= 2+b$ for some integer $k'$. This means that we must have $b=3k-1=3k'-2$ for some integers $k,k'$. This is impossible because $3k-1=3k'-2implies 1=3(k'-k)$ or in other words, that $1$ is a multiple of $3$.
add a comment |Â
up vote
1
down vote
Note that if two numbers are both divisible by three, so is their difference. Apply to $a+b$ and $2a+b$ to find that $a$ must be a multiple of $3$. Then $b$ must be a multiple of $3$ too, but any such multiple will do.
add a comment |Â
up vote
0
down vote
Assuming we found a b that satisfies the first condition 3 | (a+b) => (a+b)=3k for some k.
Substituting b=3k-a into the second condition yields 3 | (2a+b) => 3 | (a+3k) which could only be true if 3 | a.
add a comment |Â
up vote
0
down vote
Divisibilty by 3 can be easily be proved by modular arithmetic.
Suppose we have a number $A$ which is :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 $
We know
$1 equiv 10 pmod3$
Therefore we substitute 10 s with 1 s :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 equiv a_n cdot 1+a_n-1 cdot 1 + a_n-2 cdot 1 + cdots + a_2 cdot 1 +a_1 cdot 1 + a_0$
You can see that if a number wants to be divisible by 3 sum of all of its digits should be divisible by 3
Hope that helped!
add a comment |Â
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
The statement is not true. Here is a counter example: $a=1$. In order for $3vert a+b$, we must have that $3k = a+b=1+b$ for some integer $k$. On the other hand, in order for $3vert 2a+b$, we must have that $3k' =2a+b= 2+b$ for some integer $k'$. This means that we must have $b=3k-1=3k'-2$ for some integers $k,k'$. This is impossible because $3k-1=3k'-2implies 1=3(k'-k)$ or in other words, that $1$ is a multiple of $3$.
add a comment |Â
up vote
2
down vote
The statement is not true. Here is a counter example: $a=1$. In order for $3vert a+b$, we must have that $3k = a+b=1+b$ for some integer $k$. On the other hand, in order for $3vert 2a+b$, we must have that $3k' =2a+b= 2+b$ for some integer $k'$. This means that we must have $b=3k-1=3k'-2$ for some integers $k,k'$. This is impossible because $3k-1=3k'-2implies 1=3(k'-k)$ or in other words, that $1$ is a multiple of $3$.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
The statement is not true. Here is a counter example: $a=1$. In order for $3vert a+b$, we must have that $3k = a+b=1+b$ for some integer $k$. On the other hand, in order for $3vert 2a+b$, we must have that $3k' =2a+b= 2+b$ for some integer $k'$. This means that we must have $b=3k-1=3k'-2$ for some integers $k,k'$. This is impossible because $3k-1=3k'-2implies 1=3(k'-k)$ or in other words, that $1$ is a multiple of $3$.
The statement is not true. Here is a counter example: $a=1$. In order for $3vert a+b$, we must have that $3k = a+b=1+b$ for some integer $k$. On the other hand, in order for $3vert 2a+b$, we must have that $3k' =2a+b= 2+b$ for some integer $k'$. This means that we must have $b=3k-1=3k'-2$ for some integers $k,k'$. This is impossible because $3k-1=3k'-2implies 1=3(k'-k)$ or in other words, that $1$ is a multiple of $3$.
answered Aug 18 at 4:59
rikhavshah
957212
957212
add a comment |Â
add a comment |Â
up vote
1
down vote
Note that if two numbers are both divisible by three, so is their difference. Apply to $a+b$ and $2a+b$ to find that $a$ must be a multiple of $3$. Then $b$ must be a multiple of $3$ too, but any such multiple will do.
add a comment |Â
up vote
1
down vote
Note that if two numbers are both divisible by three, so is their difference. Apply to $a+b$ and $2a+b$ to find that $a$ must be a multiple of $3$. Then $b$ must be a multiple of $3$ too, but any such multiple will do.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Note that if two numbers are both divisible by three, so is their difference. Apply to $a+b$ and $2a+b$ to find that $a$ must be a multiple of $3$. Then $b$ must be a multiple of $3$ too, but any such multiple will do.
Note that if two numbers are both divisible by three, so is their difference. Apply to $a+b$ and $2a+b$ to find that $a$ must be a multiple of $3$. Then $b$ must be a multiple of $3$ too, but any such multiple will do.
answered Aug 19 at 20:41
Mark Bennet
76.8k773172
76.8k773172
add a comment |Â
add a comment |Â
up vote
0
down vote
Assuming we found a b that satisfies the first condition 3 | (a+b) => (a+b)=3k for some k.
Substituting b=3k-a into the second condition yields 3 | (2a+b) => 3 | (a+3k) which could only be true if 3 | a.
add a comment |Â
up vote
0
down vote
Assuming we found a b that satisfies the first condition 3 | (a+b) => (a+b)=3k for some k.
Substituting b=3k-a into the second condition yields 3 | (2a+b) => 3 | (a+3k) which could only be true if 3 | a.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Assuming we found a b that satisfies the first condition 3 | (a+b) => (a+b)=3k for some k.
Substituting b=3k-a into the second condition yields 3 | (2a+b) => 3 | (a+3k) which could only be true if 3 | a.
Assuming we found a b that satisfies the first condition 3 | (a+b) => (a+b)=3k for some k.
Substituting b=3k-a into the second condition yields 3 | (2a+b) => 3 | (a+3k) which could only be true if 3 | a.
answered Aug 18 at 5:04
KevB
666
666
add a comment |Â
add a comment |Â
up vote
0
down vote
Divisibilty by 3 can be easily be proved by modular arithmetic.
Suppose we have a number $A$ which is :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 $
We know
$1 equiv 10 pmod3$
Therefore we substitute 10 s with 1 s :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 equiv a_n cdot 1+a_n-1 cdot 1 + a_n-2 cdot 1 + cdots + a_2 cdot 1 +a_1 cdot 1 + a_0$
You can see that if a number wants to be divisible by 3 sum of all of its digits should be divisible by 3
Hope that helped!
add a comment |Â
up vote
0
down vote
Divisibilty by 3 can be easily be proved by modular arithmetic.
Suppose we have a number $A$ which is :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 $
We know
$1 equiv 10 pmod3$
Therefore we substitute 10 s with 1 s :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 equiv a_n cdot 1+a_n-1 cdot 1 + a_n-2 cdot 1 + cdots + a_2 cdot 1 +a_1 cdot 1 + a_0$
You can see that if a number wants to be divisible by 3 sum of all of its digits should be divisible by 3
Hope that helped!
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Divisibilty by 3 can be easily be proved by modular arithmetic.
Suppose we have a number $A$ which is :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 $
We know
$1 equiv 10 pmod3$
Therefore we substitute 10 s with 1 s :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 equiv a_n cdot 1+a_n-1 cdot 1 + a_n-2 cdot 1 + cdots + a_2 cdot 1 +a_1 cdot 1 + a_0$
You can see that if a number wants to be divisible by 3 sum of all of its digits should be divisible by 3
Hope that helped!
Divisibilty by 3 can be easily be proved by modular arithmetic.
Suppose we have a number $A$ which is :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 $
We know
$1 equiv 10 pmod3$
Therefore we substitute 10 s with 1 s :
$A = a_n cdot 10^n+a_n-1 cdot 10^n-1+a_n-2 cdot 10^n-2+ cdots + a_2 cdot 10^2 +a_1 cdot 10+ a_0 equiv a_n cdot 1+a_n-1 cdot 1 + a_n-2 cdot 1 + cdots + a_2 cdot 1 +a_1 cdot 1 + a_0$
You can see that if a number wants to be divisible by 3 sum of all of its digits should be divisible by 3
Hope that helped!
answered Aug 18 at 7:27
Abbas
727
727
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2886422%2fproving-divisibility-by-3%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
Is it true for $a=1$?
â Mark Bennet
Aug 18 at 4:50
Such a $b$ exists if and only if $3mid a$ (in which case it can be taken to be $0$).
â Saucy O'Path
Aug 18 at 4:51
How would I prove that though?
â mil236
Aug 18 at 4:52
note: $3mid a+b$ and $3mid (a+b+a)$
â farruhota
Aug 18 at 7:57