#How to find the sum of all numbers from 1 number to another
146 messages · Page 1 of 1 (latest)
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close - Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules. If there is a conflict amongst multiple helpers feel free to ping “Helper Mod”
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
3 + 4 + 5 + 6 + 7 + ..... + 999 + 1000
search up arithmetic series
The equation gives decimal answers
for certain numbers
what to do then
?
$S=\frac{n}{2}(2a+(n-1)d)$
;( | 追放された興奮
it works
Ok
where are you getting 501
multiply by n?
yeah
which is an even number?
are you okay.
Stop changing my values to gaslight me
,w 2+3+4...499
...
,w \sum_{n=2}^{499} n
i told you.
it’s an integer.
count your numbers properly
Im using this equation
when you have a sequence starting from a and ending at b, the amount of numbers in the sequence is b-a+1
"Still" thats a different value
aren’t we trying to prove it’s an integer?
@foggy coral Ok well
How do I use this
Because its giving me a decimal answer and it shouldnt
No
Im trying to find the sum of 2 to 499
oh my
2 + 3 + .... + 499
did i not explain this already?
a1 = 2
an = 499
look here, count your numbers properly, and then calculate it
((2+499)/2) x 499 = 124999.5
dude.
I dont want to count them thats why I want to use an equation
are you okay?
I quite literally just provided a method to count it
Why are you being a jerk
if it starts and a and ends at b, the amount of terms in the sequence is b-a+1
so if it starts at 2 and ends at 499, what is the amount of terms?
@small gorge
497
or 501
idk
dude look again please
fine, i’ll put it better
the amount of terms is $a_n-a_1+1$
;( | 追放された興奮
sum of n from n = a to n= b, where 0<a<b, a,b are integers.
This is equal to sum of n from n = 1 to n = b which b(b+1)/2 but you subtract the sum of n from n =1 to n = a which is a(a+1)/2. So, b(b+1)/2 - a(a+1)/2, when factoring out difference of two squares is (a+b+1)(b-a)/2
tip for helping make sure to read the thread to see how its developed and then try jumping in from there
dont randomly drop a solution when op has already made progress
this confuses people
think about this from a simpler number list
how many numbers are there from 1 to 3 inclusive?
are there 3-1 = 2?
you forgot to multiply by n, the number of numbers
it should be (2+499) * 498 /2
mistake is not knowing number of numbers thing
which has been explained but idk if op got it
It's actually provable that this formula always produces an integer.
its the sum of integers lol
...well, yes, but independently of that.
Or, at least, you make a good point, it's always an integer for a series of integers.
Did you not watch the video? Learning how the formula is derived should help you understand how to apply it.
yeah idk what he was doing
i just went to sleep cause i had stuff to do today
So the amount of terms is
$a_n-a_1+1$
We can express the formula of the summation of terms as:
$\frac{a_n-a_1+1}{2}\cdot(a_1+a_n)$
denzio321
So if $a_n-a_1+1$ is not divisble by 2
denzio321
Then $a_n-a_1$ is divisble by 2
denzio321
So then $a_n+a_1$ is divisble by 2
denzio321
So for all natural numbers the output if this function will also be natural
Not necessarily.
The amount of terms is... n.
(we are dealing with series that don’t start with 1)
(and also OP doesn’t understand that)
for some reason
(We are dealing with an arbitrary series of length n, according to what was written.)
And considering before that we were talking about the sum of an arbitrary algebraic series...
see how he defined it here? it wouldn’t necesssirly be length of 499
...no, it would be of length n = 498.
it’s whatever though
yeah, and OP doesn’t understand that

Explaining things OP doesn't understand incorrectly isn't going to help.
but you saw his method, right?
i get that n=length, but OP things that n=a_n
or some other number
it’s not really incorrect when OP’s fundamental understanding is also incorrect
The problem is a lack of specificity. That's the correct way to count the number of integers in a bounded interval, but not to count the number of terms in an algebraic sequence.
And I think the way to do that is to be more specific.
Half the reason OP is confused seems to be because they don't know how to draw these kinds of distinctions.
@small gorge
Hello sdasdwa222, this is a friendly reminder that your thread has been inactive for more than 24 hours. If you no longer need assistance, please consider closing the thread using the +close command.