Number of isosceles triangle.












1












$begingroup$


Prove that the number of isosceles triangles with integer sides, no side exceeding n, is $ frac{1}{4}(1+3n^2)$ or $frac{3}{4}(n^2)$ according to whether n is odd or even.

I am able to count the number of isosceles triangles which have the length of equal sides greater than or equal to length of base. I cannot count the remaining triangles.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Will keep in mind.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:50










  • $begingroup$
    Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
    $endgroup$
    – Arthur
    Oct 28 '15 at 14:53












  • $begingroup$
    The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:57


















1












$begingroup$


Prove that the number of isosceles triangles with integer sides, no side exceeding n, is $ frac{1}{4}(1+3n^2)$ or $frac{3}{4}(n^2)$ according to whether n is odd or even.

I am able to count the number of isosceles triangles which have the length of equal sides greater than or equal to length of base. I cannot count the remaining triangles.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Will keep in mind.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:50










  • $begingroup$
    Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
    $endgroup$
    – Arthur
    Oct 28 '15 at 14:53












  • $begingroup$
    The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:57
















1












1








1


1



$begingroup$


Prove that the number of isosceles triangles with integer sides, no side exceeding n, is $ frac{1}{4}(1+3n^2)$ or $frac{3}{4}(n^2)$ according to whether n is odd or even.

I am able to count the number of isosceles triangles which have the length of equal sides greater than or equal to length of base. I cannot count the remaining triangles.










share|cite|improve this question











$endgroup$




Prove that the number of isosceles triangles with integer sides, no side exceeding n, is $ frac{1}{4}(1+3n^2)$ or $frac{3}{4}(n^2)$ according to whether n is odd or even.

I am able to count the number of isosceles triangles which have the length of equal sides greater than or equal to length of base. I cannot count the remaining triangles.







combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 28 '15 at 14:51







user940

















asked Oct 28 '15 at 14:43









doubts_94doubts_94

204




204












  • $begingroup$
    Will keep in mind.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:50










  • $begingroup$
    Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
    $endgroup$
    – Arthur
    Oct 28 '15 at 14:53












  • $begingroup$
    The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:57




















  • $begingroup$
    Will keep in mind.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:50










  • $begingroup$
    Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
    $endgroup$
    – Arthur
    Oct 28 '15 at 14:53












  • $begingroup$
    The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 14:57


















$begingroup$
Will keep in mind.
$endgroup$
– doubts_94
Oct 28 '15 at 14:50




$begingroup$
Will keep in mind.
$endgroup$
– doubts_94
Oct 28 '15 at 14:50












$begingroup$
Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
$endgroup$
– Arthur
Oct 28 '15 at 14:53






$begingroup$
Do you count degenerate triangles (i.e. with sides $2, 1$ and $1$)? Also, rather than "longer or shorter base", I think it's easier to divide into "even or odd base".
$endgroup$
– Arthur
Oct 28 '15 at 14:53














$begingroup$
The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
$endgroup$
– doubts_94
Oct 28 '15 at 14:57






$begingroup$
The question does not explicitly mention them. I am not very convinced they should be considered. I' ll try the even/odd approach.
$endgroup$
– doubts_94
Oct 28 '15 at 14:57












1 Answer
1






active

oldest

votes


















2












$begingroup$

If the base is $2i-1$ for some $igeq 1$ (i.e. odd), then there are $n-i + 1$ isosceles (non-degenerate) triangles. If the base is $2j$ (i.e. even) for some $j geq 1$, there are $n-j$ isosceles triangles. Also note that there are $lceil n/2rceil$ odd numbers and $lfloor n/2rfloor$ even numbers that are $leq n$ (and positive). That means that we sum up
$$
overbrace{sum_{i = 1}^{lceil n/2rceil}(n-i + 1)}^{text{Odd bases}} + overbrace{sum_{j = 1}^{lfloor n/2rfloor} (n - j)}^{text{Even bases}}
$$
It should be quite easy from here to divide up into $n$ even or odd and do the direct calculations from there using the sum of arithmetic series.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That does do the trick. Elegant approach. Cheers.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 15:19











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%2f1501824%2fnumber-of-isosceles-triangle%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









2












$begingroup$

If the base is $2i-1$ for some $igeq 1$ (i.e. odd), then there are $n-i + 1$ isosceles (non-degenerate) triangles. If the base is $2j$ (i.e. even) for some $j geq 1$, there are $n-j$ isosceles triangles. Also note that there are $lceil n/2rceil$ odd numbers and $lfloor n/2rfloor$ even numbers that are $leq n$ (and positive). That means that we sum up
$$
overbrace{sum_{i = 1}^{lceil n/2rceil}(n-i + 1)}^{text{Odd bases}} + overbrace{sum_{j = 1}^{lfloor n/2rfloor} (n - j)}^{text{Even bases}}
$$
It should be quite easy from here to divide up into $n$ even or odd and do the direct calculations from there using the sum of arithmetic series.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That does do the trick. Elegant approach. Cheers.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 15:19
















2












$begingroup$

If the base is $2i-1$ for some $igeq 1$ (i.e. odd), then there are $n-i + 1$ isosceles (non-degenerate) triangles. If the base is $2j$ (i.e. even) for some $j geq 1$, there are $n-j$ isosceles triangles. Also note that there are $lceil n/2rceil$ odd numbers and $lfloor n/2rfloor$ even numbers that are $leq n$ (and positive). That means that we sum up
$$
overbrace{sum_{i = 1}^{lceil n/2rceil}(n-i + 1)}^{text{Odd bases}} + overbrace{sum_{j = 1}^{lfloor n/2rfloor} (n - j)}^{text{Even bases}}
$$
It should be quite easy from here to divide up into $n$ even or odd and do the direct calculations from there using the sum of arithmetic series.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That does do the trick. Elegant approach. Cheers.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 15:19














2












2








2





$begingroup$

If the base is $2i-1$ for some $igeq 1$ (i.e. odd), then there are $n-i + 1$ isosceles (non-degenerate) triangles. If the base is $2j$ (i.e. even) for some $j geq 1$, there are $n-j$ isosceles triangles. Also note that there are $lceil n/2rceil$ odd numbers and $lfloor n/2rfloor$ even numbers that are $leq n$ (and positive). That means that we sum up
$$
overbrace{sum_{i = 1}^{lceil n/2rceil}(n-i + 1)}^{text{Odd bases}} + overbrace{sum_{j = 1}^{lfloor n/2rfloor} (n - j)}^{text{Even bases}}
$$
It should be quite easy from here to divide up into $n$ even or odd and do the direct calculations from there using the sum of arithmetic series.






share|cite|improve this answer









$endgroup$



If the base is $2i-1$ for some $igeq 1$ (i.e. odd), then there are $n-i + 1$ isosceles (non-degenerate) triangles. If the base is $2j$ (i.e. even) for some $j geq 1$, there are $n-j$ isosceles triangles. Also note that there are $lceil n/2rceil$ odd numbers and $lfloor n/2rfloor$ even numbers that are $leq n$ (and positive). That means that we sum up
$$
overbrace{sum_{i = 1}^{lceil n/2rceil}(n-i + 1)}^{text{Odd bases}} + overbrace{sum_{j = 1}^{lfloor n/2rfloor} (n - j)}^{text{Even bases}}
$$
It should be quite easy from here to divide up into $n$ even or odd and do the direct calculations from there using the sum of arithmetic series.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Oct 28 '15 at 15:08









ArthurArthur

117k7116200




117k7116200












  • $begingroup$
    That does do the trick. Elegant approach. Cheers.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 15:19


















  • $begingroup$
    That does do the trick. Elegant approach. Cheers.
    $endgroup$
    – doubts_94
    Oct 28 '15 at 15:19
















$begingroup$
That does do the trick. Elegant approach. Cheers.
$endgroup$
– doubts_94
Oct 28 '15 at 15:19




$begingroup$
That does do the trick. Elegant approach. Cheers.
$endgroup$
– doubts_94
Oct 28 '15 at 15:19


















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%2f1501824%2fnumber-of-isosceles-triangle%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

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]