T
T
trauus2016-02-09 15:57:01
Mathematics
trauus, 2016-02-09 15:57:01

How to find out the formula for the first n elements of a sequence of numbers?

There is a sequence, each n-th element of which is expressed by the formula:
A(n) = b*n + c + A(n-1)
n is a natural number.
b, c are constants.
What will be the formula for the sum of the first n elements?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Movchan, 2016-02-09
@Alexander1705

S(n) = b * (n(n+1)(2n+1)/6 + n(n+1)/2) / 2 + c * n(n+1)/2

A
Andrew, 2016-02-09
@OLS

A(i) = (i)*(i+1)/2*b + (i)*c
The sum of the first N coefficients before "c" is easy to calculate - an arithmetic progression,
and before "b" - there will be a sum of squares - I doubt that it can be described by some beautiful formula.

A
Anton Fedoryan, 2016-02-09
@AnnTHony

If we assume that A(0) = 0, then this is what I got: b * (n1 + n2 + ... nn) + n * c

V
Vasily, 2016-02-09
@Foolleren

since there are no boundary conditions, then:
fcad21c69d114b5d813ce276735e130f.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question