Discovering the Formula for a Repeating Sequence

  • Thread starter Thread starter SciSteve
  • Start date Start date
  • Tags Tags
    Formula Sequence
SciSteve
Messages
19
Reaction score
0
I have to find a formula for the general term of An for this sequence assuming that the pattern follows and continues. (13,3,13,3...)
I don't think there's any straightforward formulas to use for sequences and series' in finding a formula.
My attempt involved finding two numbers that add to 13 and subtract to 3 which is 8 and 5, but what I'm stuck on is inserting the n variable so that the pattern will keep repeating 13,3,13,3..so on. Totally lost on how to do it and it doesn't even seem that hard.
 
Physics news on Phys.org
Try A_n = 8 + 5*(-1)^(n+1).
 
figured it out thanks for the tip
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top