First time here? Check out the FAQ!

Ask Your Question
0

create a sequence symbolically and then find a series based on this sequence

asked 5 years ago

Tintin gravatar image

I would like to create an infinite sequence (a_o,a_1,a_2,...) symbolically and then find an infinite series sum(a_0+a_1z+a_2z+...) based on this sequence with the coefficients based n the initial symbolical sequence. After that I would like to manipulate this sequence further. I am rather new to Sagemath. How can this be done? Thanks

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 5 years ago

tmonteil gravatar image

updated 5 years ago

If you want a precise answer, you should provide more details about your actual sequence. Otherwise, here is a generic example:

sage: var('n')
n
sage: a(n) = 1/n^2 + 1/n^3
sage: a
n |--> 1/n^2 + 1/n^3
sage: sum(a,n,1,infinity)
1/6*pi^2 + zeta(3)
sage: a(n) + a(n + 1)
1/(n + 1)^2 + 1/n^2 + 1/(n + 1)^3 + 1/n^3
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 5 years ago

Seen: 351 times

Last updated: May 31 '19