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

In summary: Could you explain this part further please?Thanks!In summary, the given sequence of numbers (2,0,0,5,7,2,4,8,1,...) follows the pattern of each successive digit being the unit digit of the sum of the previous four digits. After much analysis and discussion, it can be proved that the sequence eventually loops to 2005 and the four digits before it must be 4,0,5,3. This result is derived from principles of modular arithmetic and the fact that there are only 10,000 possible 4-digit numbers.
  • #1
b0mb0nika
37
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
  • #2
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
 
  • #3
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.
 
  • #4
yeah u r right. :blushing:
that was a blunder from my part

Mahesh
 
  • #5
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:
 
  • #6
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.
 
  • #7
Is it at all possible for the sequence to NOT repeat itself?
 
  • #8
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:
  • #9
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:
[tex]a \equiv b \equiv 0 (mod 2)[/tex]
 
  • #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, [tex]a_n[/tex], are given by the coefficients (mod10) of [tex]x_n[/tex] in the power series of [tex]\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})[/tex]
 
  • #19
CTS said:
Does looking at a generating function help at all? It's easy to show that the numbers of the sequence, [tex]a_n[/tex], are given by the coefficients (mod10) of [tex]x_n[/tex] in the power series of [tex]\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})[/tex]

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.
 

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

Q: What is the 2,0,0,5 sequence puzzle?

The 2,0,0,5 sequence puzzle is a mathematical problem that involves finding a pattern in a sequence of numbers. The numbers in the sequence are 2, 0, 0, and 5, and the goal is to figure out the next number in the sequence.

Q: How do I solve the 2,0,0,5 sequence puzzle?

To solve the 2,0,0,5 sequence puzzle, you will need to use your knowledge of mathematical patterns and sequences. Look for any relationships between the numbers and try to come up with a rule or formula that can be used to generate the next number in the sequence.

Q: What is the importance of solving the 2,0,0,5 sequence puzzle?

The importance of solving the 2,0,0,5 sequence puzzle is to exercise your critical thinking and problem-solving skills. It is also a fun way to test your mathematical abilities and challenge yourself.

Q: Can there be multiple answers to the 2,0,0,5 sequence puzzle?

Yes, there can be multiple answers to the 2,0,0,5 sequence puzzle. It all depends on the rule or formula that you come up with to explain the pattern in the sequence. Some people may have different interpretations or approaches, resulting in different answers.

Q: How can I prove my answer to the 2,0,0,5 sequence puzzle?

To prove your answer to the 2,0,0,5 sequence puzzle, you can use mathematical reasoning and logic to explain how your rule or formula applies to the given sequence. You can also test your answer by plugging it into the sequence and seeing if it produces the expected result.

Similar threads

Replies
1
Views
736
Replies
2
Views
1K
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
308
Replies
16
Views
2K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
935
Replies
1
Views
641
Replies
7
Views
1K
Replies
1
Views
2K
Back
Top