MHB Find Nth Term of Sequence: (-1)^n

  • Thread starter Thread starter scottshannon
  • Start date Start date
  • Tags Tags
    Sequence Term
scottshannon
Messages
46
Reaction score
0
I have been trying to find the nth term of the following sequence:
-1, 5, -17, 65...

I am thinking that the nth term has (-1) ^n . It doesn't appear to be a geometric or arithmetic sequence. I am stymied.
 
Physics news on Phys.org
scottshannon said:
I have been trying to find the nth term of the following sequence:
-1, 5, -17, 65...

I am thinking that the nth term has (-1) ^n . It doesn't appear to be a geometric or arithmetic sequence. I am stymied.

It seems if $a_n = (-1)^{n-1} (4^{n}+1) \,\,\,\, n\geq 1$
 
ZaidAlyafey said:
It seems if $a_n = (-1)^{\color{red}{n}} (4^{\color{red}{n-1}}+1) \,\,\,\, n\geq 1$

correction
 
Thank you very much
 
skeeter said:
correction

why ? If $n=1$ then you get $a_1 = -2$.
 
yes you are correct..i overlooked that...
 
I wonder if anyone might have any further ideas? This nth term formulation gives all terms except the first.
 
scottshannon said:
I have been trying to find the nth term of the following sequence:
-1, 5, -17, 65...
If the first number has index 1, then these numbers are described by the following formula.
\[
a_n=
\begin{cases}-1&n=1\\
(-1)^n (4^{n-1}+1)&n>1
\end{cases}\qquad(*)
\]
The sequence (*) is also described by infinitely many other formulas. Also, there are infinitely many sequences that start with -1, 5, -17, 65…, and each is described by infinitely many formulas.
 
"Also, there are infinitely many sequences that start with -1, 5, -17, 65…, and each is described by infinitely many formulas. "

Wow..I had no idea. There are a couple of things that had never occurred to me:

1) That it is permissible to write the nth term this way.

2) Also that there might be infinitely many nth term representations for a series where only the first 4 terms are given. Is it valid then to say that as one sees more terms in the series that the number of possibilities for the nth term decreases? If it is true that there are an infinite number of ways of writing the nth term representation, then will every one of them give the same 5th, 6th...terms?
 
  • #10
scottshannon said:
There are a couple of things that had never occurred to me:

1) That it is permissible to write the nth term this way.
It is permissible in principle. So without any restrictions this problem is not interesting. One could write a formula
\[
a_n=
\begin{cases}
-1&n=1\\
5&n=2\\
-17&n=3\\
65&n=4\\
a_n=1&n>4.
\end{cases}
\]
It specifies a valid function from natural numbers to natural numbers, and its values for $n=1,\dots,4$ are as required.

A specific problem may impose restrictions on how the function (i.e., the sequence) is specified. For example, it is possible to require that the expression specifying $a_n$ uses only addition, subtraction, multiplication and division. Then one solution is $a_n=22 n^3-146 n^2+290 n-167$ (it does not even use division). You can verify that $a_n$ are as required for $n=1,\dots,4$.

It is also possible to ask for a shortest expression. This problem may be interesting, but I haven't seen something like it.

scottshannon said:
Also that there might be infinitely many nth term representations for a series where only the first 4 terms are given.
One can do something silly such as changing an expression $E$ to $E+1+\dots+1-1-\dots-1$ where all 1's cancel. Strictly speaking, this expression specifies the same function, but it is a different from $E$. But one can also use write expressions such that proving their equality to $(-1)^{n} (4^{n-1}+1)$ would require highly nontrivial mathematics.

scottshannon said:
Is it valid then to say that as one sees more terms in the series that the number of possibilities for the nth term decreases?
In some sense, but it is still infinite. An infinite set $A$ may be a subset of another set $B$ and yet have as many elements as $B$.

scottshannon said:
If it is true that there are an infinite number of ways of writing the nth term representation, then will every one of them give the same 5th, 6th...terms?
For each sequence (function) there is an infinite number of formulas (expressions) that specify it. Also, there are infinitely many sequences with a given initial finite segment such as -1, 5, -17, 65.
 
  • #11
Evgeny.Makarov said:
It is permissible in principle. So without any restrictions this problem is not interesting. One could write a formula
\[
a_n=
\begin{cases}
-1&n=1\\
5&n=2\\
-17&n=3\\
65&n=4\\
a_n=1&n>4.
\end{cases}
\]
It specifies a valid function from natural numbers to natural numbers, and its values for $n=1,\dots,4$ are as required.

A specific problem may impose restrictions on how the function (i.e., the sequence) is specified. For example, it is possible to require that the expression specifying $a_n$ uses only addition, subtraction, multiplication and division. Then one solution is $a_n=22 n^3-146 n^2+290 n-167$ (it does not even use division). You can verify that $a_n$ are as required for $n=1,\dots,4$.

It is also possible to ask for a shortest expression. This problem may be interesting, but I haven't seen something like it.

One can do something silly such as changing an expression $E$ to $E+1+\dots+1-1-\dots-1$ where all 1's cancel. Strictly speaking, this expression specifies the same function, but it is a different from $E$. But one can also use write expressions such that proving their equality to $(-1)^{n} (4^{n-1}+1)$ would require highly nontrivial mathematics.

In some sense, but it is still infinite. An infinite set $A$ may be a subset of another set $B$ and yet have as many elements as $B$.

For each sequence (function) there is an infinite number of formulas (expressions) that specify it. Also, there are infinitely many sequences with a given initial finite segment such as -1, 5, -17, 65.

Thank you very much
 

Similar threads

Replies
17
Views
5K
Replies
3
Views
2K
Replies
11
Views
2K
Replies
1
Views
1K
Replies
7
Views
3K
Replies
2
Views
1K
Replies
7
Views
2K
Back
Top