Ten-digit number that satisfy divisibilty rules for 2,3,4,5,6,7,8,9,10&11

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Question:
Arrange the digits 1,2,3,4,5,6,7,8,9,0 to make a ten-digit Number that satisfies all of the divisibility rules for 2,3,4,5,6,8,9,10,&11. BONUS: make the number also divisible by 7










share|improve this question









New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Should I add no-computer tag?
    – Omega Krypton
    7 mins ago














up vote
1
down vote

favorite












Question:
Arrange the digits 1,2,3,4,5,6,7,8,9,0 to make a ten-digit Number that satisfies all of the divisibility rules for 2,3,4,5,6,8,9,10,&11. BONUS: make the number also divisible by 7










share|improve this question









New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Should I add no-computer tag?
    – Omega Krypton
    7 mins ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Question:
Arrange the digits 1,2,3,4,5,6,7,8,9,0 to make a ten-digit Number that satisfies all of the divisibility rules for 2,3,4,5,6,8,9,10,&11. BONUS: make the number also divisible by 7










share|improve this question









New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Question:
Arrange the digits 1,2,3,4,5,6,7,8,9,0 to make a ten-digit Number that satisfies all of the divisibility rules for 2,3,4,5,6,8,9,10,&11. BONUS: make the number also divisible by 7







formation-of-numbers number-theory number-property






share|improve this question









New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago









boboquack

14.5k144112




14.5k144112






New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









DeNel

83




83




New contributor




DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






DeNel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Should I add no-computer tag?
    – Omega Krypton
    7 mins ago
















  • Should I add no-computer tag?
    – Omega Krypton
    7 mins ago















Should I add no-computer tag?
– Omega Krypton
7 mins ago




Should I add no-computer tag?
– Omega Krypton
7 mins ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










Alright. First of all,




3 and 9 are automatically okay. The sum of the digits from 0 to 9 is 45, which is divisible by 3 and 9, so any number made out of these ten will be divisible by 3 and 9.




Now,




the last digit MUST be 0, to satisfy 2 and 5 and 10. This also satisfies 6 as well, because it's now divisible by 2 and 3.




Now, let's look at the second-last and third-last digits.




The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8. The third to last digit must also be even, to make it divisible by 8.




Now




all we have is 11 (and 7 for extra credit). To satisfy this, we have to make it so that when placing alternating signs between the digits so the result is a multiple of 11. After a bit of trial and error, I came up with 4123975680, which works for everything. It's not divisible by 7, though. I'll keep looking.







share|improve this answer






















  • I have 1385679240 & 7165932840 neither divisible by 7
    – DeNel
    2 hours ago










  • My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
    – DeNel
    2 hours ago










  • "The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
    – elias
    32 mins ago

















up vote
4
down vote













This is a good problem to attack by computer:




It turns out that there are 7344 solutions, including 1056 to the bonus.




So I thought, how far can we go?




And it just happens that 2438195760, 3785942160, 4753869120 and 4876391520 are exactly those permutations of 0123456789 divisible by each of 1 through 18, and none of them are divisible by 19.




Code used (Python 3 IDLE):






>>> import itertools
>>> normal=
>>> bonus=
>>> extra=
>>> for i in itertools.permutations('123456789'):
... n=int(''.join(i+('0',)))
... if 0==n%8==n%9==n%11:
... normal.append(n)
... if 0==n%7:
... bonus.append(n)
... if 0==n%13==n%16==n%17:
... extra.append(n)
...
>>> len(normal)
7344
>>> len(bonus)
1056
>>> extra
[2438195760, 3785942160, 4753869120, 4876391520]
>>> [i%19 for i in extra]
[12, 13, 17, 5]






share|improve this answer






















  • Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
    – DeNel
    2 hours ago











  • @DeNel I used Python 3, I'll attach some code that I used in a few moments.
    – boboquack
    36 mins ago










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






DeNel is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f74408%2ften-digit-number-that-satisfy-divisibilty-rules-for-2-3-4-5-6-7-8-9-1011%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










Alright. First of all,




3 and 9 are automatically okay. The sum of the digits from 0 to 9 is 45, which is divisible by 3 and 9, so any number made out of these ten will be divisible by 3 and 9.




Now,




the last digit MUST be 0, to satisfy 2 and 5 and 10. This also satisfies 6 as well, because it's now divisible by 2 and 3.




Now, let's look at the second-last and third-last digits.




The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8. The third to last digit must also be even, to make it divisible by 8.




Now




all we have is 11 (and 7 for extra credit). To satisfy this, we have to make it so that when placing alternating signs between the digits so the result is a multiple of 11. After a bit of trial and error, I came up with 4123975680, which works for everything. It's not divisible by 7, though. I'll keep looking.







share|improve this answer






















  • I have 1385679240 & 7165932840 neither divisible by 7
    – DeNel
    2 hours ago










  • My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
    – DeNel
    2 hours ago










  • "The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
    – elias
    32 mins ago














up vote
2
down vote



accepted










Alright. First of all,




3 and 9 are automatically okay. The sum of the digits from 0 to 9 is 45, which is divisible by 3 and 9, so any number made out of these ten will be divisible by 3 and 9.




Now,




the last digit MUST be 0, to satisfy 2 and 5 and 10. This also satisfies 6 as well, because it's now divisible by 2 and 3.




Now, let's look at the second-last and third-last digits.




The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8. The third to last digit must also be even, to make it divisible by 8.




Now




all we have is 11 (and 7 for extra credit). To satisfy this, we have to make it so that when placing alternating signs between the digits so the result is a multiple of 11. After a bit of trial and error, I came up with 4123975680, which works for everything. It's not divisible by 7, though. I'll keep looking.







share|improve this answer






















  • I have 1385679240 & 7165932840 neither divisible by 7
    – DeNel
    2 hours ago










  • My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
    – DeNel
    2 hours ago










  • "The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
    – elias
    32 mins ago












up vote
2
down vote



accepted







up vote
2
down vote



accepted






Alright. First of all,




3 and 9 are automatically okay. The sum of the digits from 0 to 9 is 45, which is divisible by 3 and 9, so any number made out of these ten will be divisible by 3 and 9.




Now,




the last digit MUST be 0, to satisfy 2 and 5 and 10. This also satisfies 6 as well, because it's now divisible by 2 and 3.




Now, let's look at the second-last and third-last digits.




The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8. The third to last digit must also be even, to make it divisible by 8.




Now




all we have is 11 (and 7 for extra credit). To satisfy this, we have to make it so that when placing alternating signs between the digits so the result is a multiple of 11. After a bit of trial and error, I came up with 4123975680, which works for everything. It's not divisible by 7, though. I'll keep looking.







share|improve this answer














Alright. First of all,




3 and 9 are automatically okay. The sum of the digits from 0 to 9 is 45, which is divisible by 3 and 9, so any number made out of these ten will be divisible by 3 and 9.




Now,




the last digit MUST be 0, to satisfy 2 and 5 and 10. This also satisfies 6 as well, because it's now divisible by 2 and 3.




Now, let's look at the second-last and third-last digits.




The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8. The third to last digit must also be even, to make it divisible by 8.




Now




all we have is 11 (and 7 for extra credit). To satisfy this, we have to make it so that when placing alternating signs between the digits so the result is a multiple of 11. After a bit of trial and error, I came up with 4123975680, which works for everything. It's not divisible by 7, though. I'll keep looking.








share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 2 hours ago









Excited Raichu

2,149227




2,149227











  • I have 1385679240 & 7165932840 neither divisible by 7
    – DeNel
    2 hours ago










  • My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
    – DeNel
    2 hours ago










  • "The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
    – elias
    32 mins ago
















  • I have 1385679240 & 7165932840 neither divisible by 7
    – DeNel
    2 hours ago










  • My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
    – DeNel
    2 hours ago










  • "The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
    – elias
    32 mins ago















I have 1385679240 & 7165932840 neither divisible by 7
– DeNel
2 hours ago




I have 1385679240 & 7165932840 neither divisible by 7
– DeNel
2 hours ago












My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
– DeNel
2 hours ago




My theory is that the number has to end in 240 or 640 or 840 but your answer totally disproved that.
– DeNel
2 hours ago












"The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
– elias
32 mins ago




"The second-last digit must be divisible by 4, because the number must be divisible by 4 and 8." This is not true. For a counterexample, 120 is divisible by 4 and 8, but its second-last digit is not divisible by 4.
– elias
32 mins ago










up vote
4
down vote













This is a good problem to attack by computer:




It turns out that there are 7344 solutions, including 1056 to the bonus.




So I thought, how far can we go?




And it just happens that 2438195760, 3785942160, 4753869120 and 4876391520 are exactly those permutations of 0123456789 divisible by each of 1 through 18, and none of them are divisible by 19.




Code used (Python 3 IDLE):






>>> import itertools
>>> normal=
>>> bonus=
>>> extra=
>>> for i in itertools.permutations('123456789'):
... n=int(''.join(i+('0',)))
... if 0==n%8==n%9==n%11:
... normal.append(n)
... if 0==n%7:
... bonus.append(n)
... if 0==n%13==n%16==n%17:
... extra.append(n)
...
>>> len(normal)
7344
>>> len(bonus)
1056
>>> extra
[2438195760, 3785942160, 4753869120, 4876391520]
>>> [i%19 for i in extra]
[12, 13, 17, 5]






share|improve this answer






















  • Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
    – DeNel
    2 hours ago











  • @DeNel I used Python 3, I'll attach some code that I used in a few moments.
    – boboquack
    36 mins ago














up vote
4
down vote













This is a good problem to attack by computer:




It turns out that there are 7344 solutions, including 1056 to the bonus.




So I thought, how far can we go?




And it just happens that 2438195760, 3785942160, 4753869120 and 4876391520 are exactly those permutations of 0123456789 divisible by each of 1 through 18, and none of them are divisible by 19.




Code used (Python 3 IDLE):






>>> import itertools
>>> normal=
>>> bonus=
>>> extra=
>>> for i in itertools.permutations('123456789'):
... n=int(''.join(i+('0',)))
... if 0==n%8==n%9==n%11:
... normal.append(n)
... if 0==n%7:
... bonus.append(n)
... if 0==n%13==n%16==n%17:
... extra.append(n)
...
>>> len(normal)
7344
>>> len(bonus)
1056
>>> extra
[2438195760, 3785942160, 4753869120, 4876391520]
>>> [i%19 for i in extra]
[12, 13, 17, 5]






share|improve this answer






















  • Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
    – DeNel
    2 hours ago











  • @DeNel I used Python 3, I'll attach some code that I used in a few moments.
    – boboquack
    36 mins ago












up vote
4
down vote










up vote
4
down vote









This is a good problem to attack by computer:




It turns out that there are 7344 solutions, including 1056 to the bonus.




So I thought, how far can we go?




And it just happens that 2438195760, 3785942160, 4753869120 and 4876391520 are exactly those permutations of 0123456789 divisible by each of 1 through 18, and none of them are divisible by 19.




Code used (Python 3 IDLE):






>>> import itertools
>>> normal=
>>> bonus=
>>> extra=
>>> for i in itertools.permutations('123456789'):
... n=int(''.join(i+('0',)))
... if 0==n%8==n%9==n%11:
... normal.append(n)
... if 0==n%7:
... bonus.append(n)
... if 0==n%13==n%16==n%17:
... extra.append(n)
...
>>> len(normal)
7344
>>> len(bonus)
1056
>>> extra
[2438195760, 3785942160, 4753869120, 4876391520]
>>> [i%19 for i in extra]
[12, 13, 17, 5]






share|improve this answer














This is a good problem to attack by computer:




It turns out that there are 7344 solutions, including 1056 to the bonus.




So I thought, how far can we go?




And it just happens that 2438195760, 3785942160, 4753869120 and 4876391520 are exactly those permutations of 0123456789 divisible by each of 1 through 18, and none of them are divisible by 19.




Code used (Python 3 IDLE):






>>> import itertools
>>> normal=
>>> bonus=
>>> extra=
>>> for i in itertools.permutations('123456789'):
... n=int(''.join(i+('0',)))
... if 0==n%8==n%9==n%11:
... normal.append(n)
... if 0==n%7:
... bonus.append(n)
... if 0==n%13==n%16==n%17:
... extra.append(n)
...
>>> len(normal)
7344
>>> len(bonus)
1056
>>> extra
[2438195760, 3785942160, 4753869120, 4876391520]
>>> [i%19 for i in extra]
[12, 13, 17, 5]







share|improve this answer














share|improve this answer



share|improve this answer








edited 29 mins ago

























answered 2 hours ago









boboquack

14.5k144112




14.5k144112











  • Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
    – DeNel
    2 hours ago











  • @DeNel I used Python 3, I'll attach some code that I used in a few moments.
    – boboquack
    36 mins ago
















  • Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
    – DeNel
    2 hours ago











  • @DeNel I used Python 3, I'll attach some code that I used in a few moments.
    – boboquack
    36 mins ago















Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
– DeNel
2 hours ago





Oh my goodness, that is amazing. I’m totally Computer illiterate. you have to totally teach me how to do this problem on a computer.
– DeNel
2 hours ago













@DeNel I used Python 3, I'll attach some code that I used in a few moments.
– boboquack
36 mins ago




@DeNel I used Python 3, I'll attach some code that I used in a few moments.
– boboquack
36 mins ago










DeNel is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















DeNel is a new contributor. Be nice, and check out our Code of Conduct.












DeNel is a new contributor. Be nice, and check out our Code of Conduct.











DeNel is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f74408%2ften-digit-number-that-satisfy-divisibilty-rules-for-2-3-4-5-6-7-8-9-1011%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?