Simple recurring sequence (1, 2, 1, 2, 1, 2, 1, 2, )

  • Thread starter Thread starter rekshaw
  • Start date Start date
  • Tags Tags
    Sequence
AI Thread Summary
The discussion revolves around finding a symbolic representation for the simple recurring sequence 1, 2, 1, 2. A participant shares their attempt with the formula a_{n} = 1 + (-1)^{n}, which produces the sequence 0, 2, 0, 2. They note that if a representation for 0, 2, 0, 2 can be established, it can lead to finding one for 1, 2, 1, 2. An alternative approach mentioned is a recurrence relation a_{n+1} = 3 - a_n. The conversation highlights the challenge of overthinking simple mathematical sequences.
rekshaw
Messages
15
Reaction score
0
trivial yet my mind is blank, I'm wayyy overthinking this!

Was just thinking of a simple sequence to test-drive on my calculator, and this one came up in my mind (the sequence terms, not the sequence itself...)

I've been trying for the past hour to find a simbolic representation of a sequence that will spit out: 1, 2, 1, 2, 1, 2...

The farthest I got so far is to get it to give back 0, 2, 0, 2 with this:

a_{n} = 1+(-1)^{n}

From a_{1} to a_{5} it gives me: 0, 2, 0, 2, 0

I know it's probably the easiest thing in the world...
 
Mathematics news on Phys.org
1.5+0.5=2, 1.5-0.5=1
 
If you can find an expression for 0, 2, 0, 2, ... you should be able to find one for 0, 1, 0, 1, 0, ... If you can find one for 0, 1, 0, 1, 0, ... you should be able to find one for 1, 2, 1, 2, 1, ...

Alternately, it's a recurrence relation with a_{n+1} = 3 - a_n. You can find a second-order homogeneous recurrence relation if you prefer.
 
so they would be saying 1.5 + (0.5)(-1)^n
 
dacruick said:
so they would be saying 1.5 + (0.5)(-1)^n

Naturally! Thanks very much guys and sorry for the trivial question.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top