Questions tagged [integer-sequences]

For questions related to integer sequences (i.e. an ordered list of integers).

An integer sequence may be specified explicitly by giving a formula for its $n$th term, or implicitly by giving a relationship between its terms. For example, the sequence $0, 1, 1, 2, 3, 5, 8, 13,\dots$ (the Fibonacci sequence) is formed by starting with $0$ and $1$ and then adding any two consecutive terms to obtain the next one: an implicit description. The sequence $0, 3, 8, 15, \dots$ is formed according to the formula $n^2 − 1$ for the $n$th term: an explicit definition.

Alternatively, an integer sequence may be defined by a property which members of the sequence possess and other integers do not possess. For example, we can determine whether a given integer is a perfect number, even though we do not have a formula for the $n$th perfect number.

An integer sequence is a computable sequence if there exists an algorithm which, given $n$, calculates $a_n$, for all $n > 0$. The set of computable integer sequences is countable. The set of all integer sequences is uncountable (with cardinality equal to that of the continuum), and so not all integer sequences are computable.

Although some integer sequences have definitions, there is no systematic way to define what it means for an integer sequence to be definable in the universe or in any absolute (model independent) sense.

57 questions
1
vote
1 answer

What is the correct name for an increasing integer sequence where the difference of two consecutive elements is ultimately periodic?

Consider the sequence -1, 0, 2, 5, 7, 10, etc. where you add 2, then 3 and repeat. Somehow, it could be noted like "-1, 0, (+2, +3)*" à la regular expression. I can say this is an increasing integer sequence where the difference of two consecutive…
1
vote
2 answers

integer sequences - "rules"

The notation (x, y, z, ...) used for infinite sequences is ambiguous (at least wikipedia says so). So there is always more than one possible "rule", which means it is possible to continue the sequence in different ways? Is there a proof for that? Is…
1
vote
1 answer

Explicit solution formula for a nonlinear sequence

I have a sequence defined as follows $$u_1=2, \quad u_{n+1}=nu_n+2.$$ And I want to compute (if possible) the explicit solution.
elmas
  • 111
0
votes
3 answers

How do you find a pattern behind a sequence of integers?

I'm working with some sequences and could be useful to know how to find a pattern behind them: I currently have two sequences: $8,20,20,20,24,36,36,36,40,52,52,52,56...$ $12,16,20,40,40,40,40,40,44,48,52,72,72,72,72,72,76,80...$ I can see the…
Frax
  • 485