Find closed formula for the sequence.

  • Thread starter jjangub
  • Start date
  • #1
jjangub
24
0
I have a problem with this question.
The question is "Find closed formula for the sequence 0,1,3,0,1,3,0,1,3...."
It can be written as (0,1,0,0,1,0,0,1,0...)+3*(0,0,1,0,0,1,0,0,1...)
I know the sequence of 0,0,1,0,0,1..., but I do not know how to get the
sequence of 0,1,0,0,1,0...
And is there any easier way to get the sequence of 0,0,1,0,0,1...or 0,1,0,0,1,0...?
Thank you...
 

Answers and Replies

  • #2
CRGreathouse
Science Advisor
Homework Helper
2,824
0
I have a problem with this question.
The question is "Find closed formula for the sequence 0,1,3,0,1,3,0,1,3...."
It can be written as (0,1,0,0,1,0,0,1,0...)+3*(0,0,1,0,0,1,0,0,1...)
I know the sequence of 0,0,1,0,0,1..., but I do not know how to get the
sequence of 0,1,0,0,1,0...
And is there any easier way to get the sequence of 0,0,1,0,0,1...or 0,1,0,0,1,0...?
Thank you...

Depends on what you're allowed to use, and what techniques you know. In Pari it would be
Code:
[3,0,1][n%3+1]
. The "mod" function would make quick work of it. Complex powers could work: with w a cube root of -1, [tex]w^k+\bar{w^k}[/tex] is 1, -1, or 2 depending on k mod 3. Etc.

Edit: The conjugate symbol isn't showing up very well...
 

Suggested for: Find closed formula for the sequence.

  • Last Post
Replies
4
Views
850
Replies
1
Views
244
Replies
5
Views
993
  • Last Post
Replies
4
Views
32K
Replies
2
Views
1K
Replies
4
Views
814
Replies
2
Views
1K
Replies
41
Views
8K
Replies
9
Views
2K
  • Last Post
Replies
10
Views
9K
Top