(adsbygoogle = window.adsbygoogle || []).push({}); trivialyet 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...

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

Loading...

Similar Threads - Simple recurring sequence | Date |
---|---|

B Simple question about compactness | Feb 22, 2018 |

B Simple Question About Term(s) re: Fermat | Jan 19, 2018 |

B A rather simple question | Dec 13, 2017 |

B How do you solve this simple problem: (-2)^(n-1) = 2^8 | Apr 14, 2017 |

Simple maths but i don't understand why (about recurring decimals or repeating) | Aug 17, 2006 |

**Physics Forums - The Fusion of Science and Community**