- #1
rekshaw
- 15
- 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:
[itex]a_{n} = 1+(-1)^{n}[/itex]
From [tex]a_{1}[/tex] to [tex]a_{5}[/tex] it gives me: 0, 2, 0, 2, 0
I know it's probably the easiest thing in the world...
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:
[itex]a_{n} = 1+(-1)^{n}[/itex]
From [tex]a_{1}[/tex] to [tex]a_{5}[/tex] it gives me: 0, 2, 0, 2, 0
I know it's probably the easiest thing in the world...