Questions tagged [sequence]
Questions on specifying order in and splicing of lists, including use of Mathematica Sequence objects.
206 questions
3 votes
2 answers
244 views
How to code a recursive algorithm to exponentiate $e^{1/e}$ to itself indefinitely and hence show that this sequence converges to $e$?
I seek help coding an algorithm that shows when $e^{1/e}$ is repeatedly raised to itself it will eventually converge to $e$. The context for this post comes from this same question on M.SE: What ...
3 votes
1 answer
91 views
Numerical handling within Manipulate[] with variable number of parameters
This is a minimal example of a more complex problem. I need to build the Manipulate function as below with a variable number of parameters, which is why ...
1 vote
2 answers
133 views
Arithmetic and Geometric Sequences Problem
Let $an$ be an arithmetic sequence with common difference d, and $bn$ be a geometric sequence with common ratio q. It is known that the sum of the first n terms of the sequence ${an + bn}$ is $sn = n^...
4 votes
5 answers
568 views
How to Speed Up the Summation of a Sequence?
A sequence (a_n) is given with a recursive formula, and another new sequence (b_n) is formed by the remainders of each term of (a_n) divided by 3. When calculating the sum of the first 2022 terms of ...
0 votes
1 answer
198 views
Max Geometric Sequences
We start with a number, say 12. Then try to find how many different 3-number geometric sequences exist below (up to and including) that number. Ex: below 12, there are 4 such sets: ...
4 votes
5 answers
308 views
Defining a sequence from a list or a table
I want to define a sequence from a list. For example if I have the list A={1, 2, 3, 34, -9, 18} I want to define the sequence ...
0 votes
0 answers
243 views
How to solve this problem combining sequences and reasoning using code?
QUESTION: Let $m$ be a positive integer, and let $a_1, a_2, ..., a_{4m+2}$ be an arithmetic sequence with non-zero common difference. If removing two terms $a_i$ and $a_j$ ($i < j$) leaves $4m$ ...
0 votes
2 answers
135 views
How to display the specific general term formula of Fibonacci sequence? [closed]
RSolve[{a[n] == a[n - 1] + a[n - 2], a[1] == 1, a[2] == 1}, a[n], n] The general term formula obtained by the above code is: ...