View Single Post
Default   #326   Coda Coda is offline
Developer
That is... entirely possible. I don't actually know. If the "north" side of the compass needle points to the south pole of a permanent magnet, then you are correct.

What it's saying is if you know the first term of a sequence, and if you know the (constant) distance between subsequent terms, then you can find any term of the sequence using that last line you derived, and you can find the sum of the sequence at any point using the identity you posted.

It should be noted that this follows from theorems you already know:

Σx = n(n+1)/2 -- the sum of the natural numbers
a(b+c) = ab + ac -- the distributive property of multiplication over addition
a + a + ... + a = na -- the additive definition of multiplication

Why?

Well, consider the sum of the integers:
1 + 2 + ... + n = n(n+1)/2

Our life is going to be much easier if we start with zero, though, so let's substitute (n-1) in place of n:
0 + 1 + ... + (n-1) = (n-1)n/2

Multiply it by d:
d(0 + 1 + ... + n) = d(n-1)n/2

Distribute the d:
0 + d + 2d + ... + nd = d(n-1)n/2

Add a1 to each term, which is the same as adding n copies of a1:
a1 + (a1+d) + (a1+2d) + ... + (a1+nd) = d(n-1)n/2 + n(a1)

But of course, a1+d is a2:
a1 + a2 + ... + an = d(n-1)n/2 + n(a1)
Games by Coda (updated 4/8/2025 - New game: Marianas Miner)
Art by Coda (updated 8/25/2022 - beatBitten and All-Nighter Simulator)

Mega Man: The Light of Will (Mega Man / Green Lantern crossover: In the lead-up to the events of Mega Man 2, Dr. Wily has discovered emotional light technology. How will his creations change how humankind thinks about artificial intelligence? Sadly abandoned. Sufficient Velocity x-post)
Old Posted 04-25-2017, 11:35 PM Reply With Quote