Sets of 3 integers adding to 180












1












$begingroup$


If we constrain angles to whole numbers, how many triangles can we make? This is also equivalent to: how many sets of 3 integers add to 180?










share|cite|improve this question









$endgroup$








  • 4




    $begingroup$
    Do you consider symmetrical triangles the same? Or order of angles may be important?
    $endgroup$
    – Abstraction
    Dec 4 '15 at 15:03










  • $begingroup$
    This is a partition-problem. And the integers must be positive.
    $endgroup$
    – Peter
    Dec 4 '15 at 15:04










  • $begingroup$
    Three positive integers, maybe? Otherwise, the number is infinite.
    $endgroup$
    – Thomas Andrews
    Dec 4 '15 at 15:08


















1












$begingroup$


If we constrain angles to whole numbers, how many triangles can we make? This is also equivalent to: how many sets of 3 integers add to 180?










share|cite|improve this question









$endgroup$








  • 4




    $begingroup$
    Do you consider symmetrical triangles the same? Or order of angles may be important?
    $endgroup$
    – Abstraction
    Dec 4 '15 at 15:03










  • $begingroup$
    This is a partition-problem. And the integers must be positive.
    $endgroup$
    – Peter
    Dec 4 '15 at 15:04










  • $begingroup$
    Three positive integers, maybe? Otherwise, the number is infinite.
    $endgroup$
    – Thomas Andrews
    Dec 4 '15 at 15:08
















1












1








1





$begingroup$


If we constrain angles to whole numbers, how many triangles can we make? This is also equivalent to: how many sets of 3 integers add to 180?










share|cite|improve this question









$endgroup$




If we constrain angles to whole numbers, how many triangles can we make? This is also equivalent to: how many sets of 3 integers add to 180?







combinations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 4 '15 at 15:00









D. McIntyreD. McIntyre

61




61








  • 4




    $begingroup$
    Do you consider symmetrical triangles the same? Or order of angles may be important?
    $endgroup$
    – Abstraction
    Dec 4 '15 at 15:03










  • $begingroup$
    This is a partition-problem. And the integers must be positive.
    $endgroup$
    – Peter
    Dec 4 '15 at 15:04










  • $begingroup$
    Three positive integers, maybe? Otherwise, the number is infinite.
    $endgroup$
    – Thomas Andrews
    Dec 4 '15 at 15:08
















  • 4




    $begingroup$
    Do you consider symmetrical triangles the same? Or order of angles may be important?
    $endgroup$
    – Abstraction
    Dec 4 '15 at 15:03










  • $begingroup$
    This is a partition-problem. And the integers must be positive.
    $endgroup$
    – Peter
    Dec 4 '15 at 15:04










  • $begingroup$
    Three positive integers, maybe? Otherwise, the number is infinite.
    $endgroup$
    – Thomas Andrews
    Dec 4 '15 at 15:08










4




4




$begingroup$
Do you consider symmetrical triangles the same? Or order of angles may be important?
$endgroup$
– Abstraction
Dec 4 '15 at 15:03




$begingroup$
Do you consider symmetrical triangles the same? Or order of angles may be important?
$endgroup$
– Abstraction
Dec 4 '15 at 15:03












$begingroup$
This is a partition-problem. And the integers must be positive.
$endgroup$
– Peter
Dec 4 '15 at 15:04




$begingroup$
This is a partition-problem. And the integers must be positive.
$endgroup$
– Peter
Dec 4 '15 at 15:04












$begingroup$
Three positive integers, maybe? Otherwise, the number is infinite.
$endgroup$
– Thomas Andrews
Dec 4 '15 at 15:08






$begingroup$
Three positive integers, maybe? Otherwise, the number is infinite.
$endgroup$
– Thomas Andrews
Dec 4 '15 at 15:08












1 Answer
1






active

oldest

votes


















0












$begingroup$

Assuming every angle has degree > 0. First we need to calculate the number of ways to distribute 177 degrees over 3 angles:
$$binom{177+3-1}{177}=binom{179}{177} = 15931.$$



If you consider symmetrical triangles the same, you have to make sure you subtract the number of permutations. The number of triangles with identical angles is 1 ( 60,60,60). The number of triangles with only two identical angles $b$ and one angle $a(aneq b$) is $3*88$(89 even integers between 2 and 178 minus one for $a=60$, times $3$ to account for permutations). That leaves
$$15931 - 1 - 3*88 = 15666$$
triangles with three different angles. Those triangles have $3!=6$ permutations, thus
$$15666/6 + 88 + 1 = 2700$$
is the number of triangles if you count symmetrical triangles as one.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
    $endgroup$
    – D. McIntyre
    Dec 5 '15 at 23:40












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: "69"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1559810%2fsets-of-3-integers-adding-to-180%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

Assuming every angle has degree > 0. First we need to calculate the number of ways to distribute 177 degrees over 3 angles:
$$binom{177+3-1}{177}=binom{179}{177} = 15931.$$



If you consider symmetrical triangles the same, you have to make sure you subtract the number of permutations. The number of triangles with identical angles is 1 ( 60,60,60). The number of triangles with only two identical angles $b$ and one angle $a(aneq b$) is $3*88$(89 even integers between 2 and 178 minus one for $a=60$, times $3$ to account for permutations). That leaves
$$15931 - 1 - 3*88 = 15666$$
triangles with three different angles. Those triangles have $3!=6$ permutations, thus
$$15666/6 + 88 + 1 = 2700$$
is the number of triangles if you count symmetrical triangles as one.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
    $endgroup$
    – D. McIntyre
    Dec 5 '15 at 23:40
















0












$begingroup$

Assuming every angle has degree > 0. First we need to calculate the number of ways to distribute 177 degrees over 3 angles:
$$binom{177+3-1}{177}=binom{179}{177} = 15931.$$



If you consider symmetrical triangles the same, you have to make sure you subtract the number of permutations. The number of triangles with identical angles is 1 ( 60,60,60). The number of triangles with only two identical angles $b$ and one angle $a(aneq b$) is $3*88$(89 even integers between 2 and 178 minus one for $a=60$, times $3$ to account for permutations). That leaves
$$15931 - 1 - 3*88 = 15666$$
triangles with three different angles. Those triangles have $3!=6$ permutations, thus
$$15666/6 + 88 + 1 = 2700$$
is the number of triangles if you count symmetrical triangles as one.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
    $endgroup$
    – D. McIntyre
    Dec 5 '15 at 23:40














0












0








0





$begingroup$

Assuming every angle has degree > 0. First we need to calculate the number of ways to distribute 177 degrees over 3 angles:
$$binom{177+3-1}{177}=binom{179}{177} = 15931.$$



If you consider symmetrical triangles the same, you have to make sure you subtract the number of permutations. The number of triangles with identical angles is 1 ( 60,60,60). The number of triangles with only two identical angles $b$ and one angle $a(aneq b$) is $3*88$(89 even integers between 2 and 178 minus one for $a=60$, times $3$ to account for permutations). That leaves
$$15931 - 1 - 3*88 = 15666$$
triangles with three different angles. Those triangles have $3!=6$ permutations, thus
$$15666/6 + 88 + 1 = 2700$$
is the number of triangles if you count symmetrical triangles as one.






share|cite|improve this answer









$endgroup$



Assuming every angle has degree > 0. First we need to calculate the number of ways to distribute 177 degrees over 3 angles:
$$binom{177+3-1}{177}=binom{179}{177} = 15931.$$



If you consider symmetrical triangles the same, you have to make sure you subtract the number of permutations. The number of triangles with identical angles is 1 ( 60,60,60). The number of triangles with only two identical angles $b$ and one angle $a(aneq b$) is $3*88$(89 even integers between 2 and 178 minus one for $a=60$, times $3$ to account for permutations). That leaves
$$15931 - 1 - 3*88 = 15666$$
triangles with three different angles. Those triangles have $3!=6$ permutations, thus
$$15666/6 + 88 + 1 = 2700$$
is the number of triangles if you count symmetrical triangles as one.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 4 '15 at 17:21









danwindanwin

807




807








  • 1




    $begingroup$
    I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
    $endgroup$
    – D. McIntyre
    Dec 5 '15 at 23:40














  • 1




    $begingroup$
    I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
    $endgroup$
    – D. McIntyre
    Dec 5 '15 at 23:40








1




1




$begingroup$
I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
$endgroup$
– D. McIntyre
Dec 5 '15 at 23:40




$begingroup$
I used more of brute force method - examining a case where 1 is an angle and going through the 89 cases with it, then setting 2 as an angle (but subtracting 1 combination since it had been done in the 1 case). Doing this yields a pattern where the even cases are linearly related and the odds are also linearly related. Treating each as an arithmetic series and adding them together yielded 2700 as well. Not quite as elegant, but it worked!
$endgroup$
– D. McIntyre
Dec 5 '15 at 23:40


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1559810%2fsets-of-3-integers-adding-to-180%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith