Question 1011827
i'll use an arithmetic series because there are formulas that should allow me to figure out what numbers could be used.





Sn = 1/2 * n * (A1 + An)


n = 5, therefore:


S5 = 1/2 * 5 * (A1 + A5)


multiply both sides by 2 to get:


2 * S5 = 5 * (A1 + A5)


divide everything by 5 to get:


2 * S5 / 5 = A1 + A5


subtract A1 from both sides of the equation to get:


2 * S5 / 5 - A1 = A5


let S5 equal 100 to get:


2 * 100 / 5 - A1 = A5


simplify to get:


40 - A1 = A5


since An = A1 + (n-1)*d, then:


40 - A1 = A1 + (n-1)*d


subtract A1 from both sides of this equation to get:


400 - 2A1 = (n-1)*d


distribute the multiplication to get:


40 - 2A1 = (n-1)*d


since n = 5, then:


40 - 2A1 = 4*d


solve for A1 to get:


A1 = 40 - 4*d)/2


simplify to get:


A1 = 20 - 2d


if this formula is good, then all we need to do is find a value for d that will allow us to subtract from 20 and get an integer (positive or negative should work).  that value will be A1.


let's see if this works.


if d = 1, then A1 = 20 - 2 = 18.
A5 = A1 + 4d = 18 + 4 * 1 = 22
S5 = 1/2 * 5 * (18 + 22) = 1/2 * 5 * 40 = 1/2 * 200 = 100
it works !!!!!


if d = 2, then A1 = 20 - 4 = 16
A5 = 16 + 4*2 = 16 + 8 = 24
S5 = 1/2 * 5 * (16 + 24) = 1/2 * 5 * 40 = 1/2 * 200 = 100


id d = 4, then A1 = 20 - 8 = 12
A5 = 12 + 4*4 = 12 + 16 = 28
S5 = 1/2 * 5 * (12 + 28) = 1/2 * 5 * 40 = 1/2 * 200 = 100


it worked for all three !!!!


i used 3 different arithmetic series.
it was a matter of applying the formulas that come with arithmetic series.
An = A1 + (n-1)*d
Sn = n/2 * (A1 + An)


just to see if it will work with a negative number:


start with A1 = 20 - 2d.
let d = 100.
2d = 200
20 - 200 = -180
A1 = -180
d = 100
A5 = -180 + 4*100 = -180 + 400 = 220.
S5 = 5/2 * (-180 + 220) = 5/2 * 5*40/2 = 5*20 = 100


it works again !!!!!


the sequence is -180, -80, 20, 120, 220
add them up and you get 100.


you can probably do the same this with geometric series, and if you made up your own series rules, you might even be able to develop a formula using that.