Finding the Formula for a Sequence

  • Thread starter Thread starter Ayesh
  • Start date Start date
  • Tags Tags
    Formula Sequence
Ayesh
Messages
29
Reaction score
0
I just wanted to know if anybody had a trick to find the formula for the general term of a sequence.

I can find some without troubles. But other like 1,0,1,0,1,0... I don't know how to find them.

Thank you!
 
Physics news on Phys.org
Ayesh said:
I just wanted to know if anybody had a trick to find the formula for the general term of a sequence.

I can find some without troubles. But other like 1,0,1,0,1,0... I don't know how to find them.

Thank you!

Of course you know that technically, the next term could be anything and the first few terms of a sequence never determines a pattern. So these questions always involve a subjective judgement or guess what the author intends. In this case one suspects the described sequence is to consist of alternating 1's and 0's. It is more a matter of experience than anything to come up with a formula. This might suggest sin(n pi/2) for n = 1,2,..., which gives:

1 0 -1 0 1...

Not quite it. Put absolute values on it: |sin (n pi/2)|:

1 0 1 0 ... works.

Another thing you might think of is using (-1)n, which alternates the sign:

-1 1 -1 1 -1 1...

Try adding 1 to it: 1 + (-1)n: 0 2 0 2 0 2...

Close. Divide it by 2: (1 + (-1)n)/2: 0 2 0 2 0 2 if you start with n = 1. So start with n = 0.

Each problem presents its own challenges.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top