# Questions tagged [sequence]

Questions on specifying order in and splicing of lists, including use of Mathematica Sequence objects.

148 questions
Filter by
Sorted by
Tagged with
1answer
30 views

### SequenceSplit around empty sequences is inconsistent

Only the first one recognizes a zero-length sequence between non-X's. ...
0answers
39 views

2answers
169 views

### How to judge whether the series is absolutely convergent?

I need to judge whether the series $\sum_{n=1}^{\infty}(-1)^{n}\left(1-\cos \frac{\alpha}{n}\right)$ (α>0) is absolutely convergent. ...
3answers
106 views

### How to find the limit of this recursive sequence

I want to find the limit of the following recursive sequence when n tends to : ...
1answer
250 views

### What does Sequence[2,4]^2 mean?

I am learning pattern matching. An example that confuse me is as follows. Foo[x__?EvenQ] := x^2; Foo[2, 4] which is equal to ...
1answer
89 views

### head of a sequence

Why does Head[Sequence[b, c]] return c[Symbol] and not Sequence? Why does ...
1answer
46 views

### Splice matching function arguments

Mathematica 12.1 introduces Splice that replaces the old way of using Sequence@@ to "melt" a list of entries. However, the ...
0answers
38 views

### Apply SequenceReplace with a fixed shift

How can I apply SequenceReplace with a fixed prespecified shift instead of a shift equal to the length of the pattern, on a given list? E.g. ...
2answers
255 views

2answers
210 views

### The use of SlotSequence in If[#1 > #2, ##] &

The below function when applied to a list of two elements, will output the maximum between the two: If[#1 > #2, ##] & For example: ...
3answers
448 views

### Slow computation of recursive sequences

I want to investigate the asymptotic behavior of the following recursive system: ...
0answers
71 views

2answers
333 views

1answer
163 views

### How to find the length of an indefinitely repeated sequence in a list

Here, I am not looking for simply a repeated element, but an indefinitely repeated sequence. For example, if I have the list ...