Solving the 2,0,0,5 Sequence Puzzle - Prove Your Answer!

  • Context: Undergrad 
  • Thread starter Thread starter b0mb0nika
  • Start date Start date
  • Tags Tags
    Interesting Sequence
Click For Summary

Discussion Overview

The discussion revolves around the sequence generated from the initial digits 2, 0, 0, 5, where each subsequent digit is the unit digit of the sum of the previous four digits. Participants explore whether the sequence 4, 0, 5, 3 appears within this generated series, examining patterns, potential repetitions, and mathematical properties related to the sequence.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants describe the sequence generation method, noting that each digit is derived from the sum of the previous four digits.
  • One participant suggests generating numbers prior to 4, 0, 5, 3 to determine its appearance, concluding that the sequence cannot contain it due to the presence of an 11.
  • Another participant questions the validity of the 11 and proposes examining the problem through different summation approaches.
  • A later reply introduces the concept of the sequence being a Tetranacci number series modulo 10, claiming it has a period of 1560, which implies that 4, 0, 5, 3 does appear at a specific iteration.
  • Some participants express uncertainty about how the period was determined and the implications of the sequence's looping behavior.
  • Several participants discuss the mathematical properties of the sequence, including potential periods based on the starting digits and the reversibility of the sequence generation process.
  • One participant raises a question about the peculiar behavior of the sequence when analyzed under different moduli, particularly mod 7.
  • Another participant shares that the problem originated from a math assignment, emphasizing the challenge of solving it without computational assistance.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the appearance of the sequence 4, 0, 5, 3, with some asserting it does appear while others challenge this claim. The discussion remains unresolved on several points, particularly regarding the methods of proving periodicity and the implications of the sequence's properties.

Contextual Notes

There are limitations in the assumptions made about the sequence's behavior, including the dependence on the initial digits and the mathematical properties of the Tetranacci series. The discussion also highlights unresolved mathematical steps related to the determination of periods and the nature of the sequence's looping.

b0mb0nika
Messages
36
Reaction score
0
starting with 2,0,0,5 form the sequence 2,0,0,5,7,2,4,8,1 ...
where each successive digit is the unit digit of the sum of the previous 4 ( 2+0+0+5=7, 0+0+5+7=12 , write 2, .. etc.)

does the sequence 4,0,5,3 ever appear ? prove your answer

i have been trying to see some sort of pattern.. but i can't figure out anything
if anyone has any idea how to do it.. or maybe a hint.. i would really appreciate it..
thanks
 
Mathematics news on Phys.org
hi
why can't u just try to generate the numbers previous to 4,0, 5,3 ... all the generated numbers should be single digit
i got ...11,3,0,4,8,5,7,4, 4,0,5,3,...
since we are getting 11 the sequence 4,0 ,5,3 will never appear

regards
Mahesh
 
I don't see how you got 11, mahesh. You could have used 1, instead.

I tried looking at parity, but that didn't work.
 
yeah u r right. :blushing:
that was a blunder from my part

Mahesh
 
I am not really sure where to start from. Did you try looking at the problem in this way?

2,0,0,5,(2+5),(2+5+5),(2+2+5+5+5+5),...

Maybe there's some sort of pattern...not being able to see it is really starting to annoy me. We need experts! :smile:
 
If you can prove that the sequence hits 2,0,0,5 again, you should be home free since 4,0,5,3 would have to come right before it.
 
Is it at all possible for the sequence to NOT repeat itself?
 
Solution

Hi,
This is a Tetranacci number series modulo 10 and in this particular case has a period of 1560 and so the sequence 4,0,5,3 does first appear (because it is the last sequence of a period) at n=1557 assuming we start from n=1.
 
Last edited:
i did some research about those series.. didn't find too much
i don't understand how you got the period?
 
  • #10
I'm rather interested in where you got this problem from.
A proof derived from base principles would be quite complicated.
 
  • #11
Step one: The thing must fall into a loop because there are only 10000 possible arrangements.

Step Two: Write a computer program to iterate this thing 10000 times.

Step three: Check Answer

Answer: Yes. At 1557 iterations, 3117, 4768

Note: 3117 - 1557 = 1560
If we moved it backwards a bit...
 
  • #12
noelhustler said:
I'm rather interested in where you got this problem from.
A proof derived from base principles would be quite complicated.

Let's rewrite this sequence as a sequence of four digit numbers by grouping consecutive froursomes of digits:
2005
0057
0572
5724
.
.
Since there are only 10,000 possinbe 4 digit numbers, the sequence must eventually loop. Since the sequence is deterministic in both directions it must loop to 2005 rather than to some other point in the sequence (there are no dangling tails), and it doesn't take a whole lot of work to see that the four digits before 2,0,0,5 must be 4,0,5,3.

It's possible to ask all sorts of interesting questions about sequences like this or simpler fibonacci-esque sequences that may be difficult to prove. I recall tinkering with Fibonnaci (esque) seuqences mod a number to see if, for example, the period of the fibonnaci sequence modulo a number can be related to properties of that number.
 
  • #13
Yes, I digressed.
I forgot the question simply asked whether or not it repeated.
I was thinking of a derivation of the period.

It is interesting to note that there are only 3 possible periods for any four starting digits.
For the particular starting sequence a,0,0,b they are:
If a = b = 5 then the period is 5 (obviously)
If a mod 2 = b mod 2 = 0 then the period is 312.
Otherwise the period is 1560.
I suppose this is related to the factors of 10 (the series mod 2 has period 5 and the seriod mod 5 has period 312).

This is discounting the trivial period of 1 given by starting from all zeros.
 
Last edited:
  • #14
noelhustler said:
I suppose this is related to the factors of 10 (the series mod 2 has period 5 and the seriod mod 5 has period 312
Right, and the period of the combination is a product of the periods as would be expected.

If a mod 2 = b mod 2 = 0 then the period is 312.
It's probably clearer to write that as
a=b=0 (mod 2)
or, even better:
a \equiv b \equiv 0 (mod 2)
 
  • #15
The series mod 7 is peculiar. the other moduli 2..10 have a single period if prime or a single period plus the periods of their prime factors if not.
7 however has two distinct periods depite being prime.

Any ideas?
 
  • #16
for noel:
i got this prob as a bonus question in one of my assignments from a 2nd yr math course. The prof said we should be able to solve it with math knowledge just from high school, and we're not allowed to write any computer programs..
i got to run to class now.. so i'll read all the posts later today..
thanks everyone:)
 
  • #17
Ah yes, I misread the actual question.
Must remember to read the post before hitting submit.
Very important, that.
 
  • #18
Does looking at a generating function help at all? It's easy to show that the numbers of the sequence, a_n, are given by the coefficients (mod10) of x_n in the power series of \frac{3x^3-2x^2-2x+2}{1-x-x^2-x^3-x^4} = 2 + 0x + 0x^2 + 5x^3 + 7x^4 + 12x^5 + 24x^6 + 48x^7 + 91x^8 + 175x^9 + 338x^{10} + {\cal O}(x^{11})
 
  • #19
CTS said:
Does looking at a generating function help at all? It's easy to show that the numbers of the sequence, a_n, are given by the coefficients (mod10) of x_n in the power series of \frac{3x^3-2x^2-2x+2}{1-x-x^2-x^3-x^4} = 2 + 0x + 0x^2 + 5x^3 + 7x^4 + 12x^5 + 24x^6 + 48x^7 + 91x^8 + 175x^9 + 338x^{10} + {\cal O}(x^{11})

Well, I was looking at the fibonacci series mod n with some computer programs and didn't see any paterns. That was a year or two ago - I'll see if I can dust it off.
 
  • #20
NateTG said:
Since there are only 10,000 possinbe 4 digit numbers, the sequence must eventually loop. Since the sequence is deterministic in both directions it must loop to 2005 rather than to some other point in the sequence (there are no dangling tails), and it doesn't take a whole lot of work to see that the four digits before 2,0,0,5 must be 4,0,5,3.

I don't understand why it eventually must loop. Just because there are 10000 possible 4 digit numbers ? It might get to some 4 digit number( or numbers ) and then repeat itself.
 
  • #21
b0mb0nika said:
I don't understand why it eventually must loop. Just because there are 10000 possible 4 digit numbers ? It might get to some 4 digit number( or numbers ) and then repeat itself.
No, because the whole process is reversible.
Here's an intuitive argument:
Suppose the sequence would 'enter' a loop and repeat itself indefinately.
We are able to work backwards to the numbers we started with at any point, but if we entered a loop, we would also be stuck in that loop while trying to go back, which contradicts the fact that we are able to get back to the numbers we started with by reversing the process.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 2 ·
Replies
2
Views
2K