Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Sequence of 0,1,5 (ANT)

  1. Nov 17, 2009 #1
    Construct a sequence that visits the numbers 0,1,5 infinitely often.?
    A sequence Sn visits a number A when for infinitely many n in N, Sn = A. Example: The sequence (-1)^n visits -1 and 1 infinitely.
     
  2. jcsd
  3. Nov 17, 2009 #2
    n mod 6?
     
  4. Nov 17, 2009 #3
    (3^n - 1) mod 7?
     
  5. Nov 17, 2009 #4
    or even ((n mod 3)+5)mod 6.
     
  6. Nov 17, 2009 #5
    Or (11^n mod 37) mod 6.
     
  7. Nov 17, 2009 #6

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    0,-1,1,0,-1,1,-2,2,0,-1,1,-2,2,-3,3,0,-1,1,-2,2,-3,3,-4,4,... visits all integers infinitely often.
     
  8. Nov 17, 2009 #7
    [tex]2 - (cos(2\pi n/3) + cos(4\pi n/3)) - (2/\sqrt{3})(sin(2\pi n/3) - sin(4\pi n/3))[/tex]
     
    Last edited: Nov 17, 2009
  9. Nov 17, 2009 #8
    [tex]\sum_{k=1}^n a_k \, , \quad \mbox{where } a_k \mbox{ is the recurrence sequence given by}[/tex]

    [tex]
    \begin{align*}
    a_1 &= 1 \\
    a_2 &= 4 \\
    a_k &= -a_{k-1}-a_{k-2} \, , \quad \scriptstyle{k \ge 3}
    \end{align*}
    [/tex]
     
  10. Nov 18, 2009 #9
    [tex]\left\lfloor(50/333)*10^n\right\rfloor mod 10[/tex]
     
  11. Nov 19, 2009 #10
    This sequence doesn't contain even one zero. There must be a typo or something! Oh! I get It Sum 1,4,-5 = 0 etc/
     
    Last edited: Nov 19, 2009
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Sequence of 0,1,5 (ANT)
  1. X^2 + 1 = 0 (mod 5^3). (Replies: 2)

  2. 0^0 = 1? (Replies: 83)

  3. 1+1 = 0 (Replies: 2)

Loading...