BBO Discussion Forums: chronograph math problem - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

chronograph math problem

#1 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-05, 04:13

I have been thinking about the following (pointless) math problem about my chronograph watch and I finally got it.

How can you set a standard 2-button chronograph to 0 in darkness (i.e. you don't see which state it is in)?

sorry this is the definition of 'standard 2-button chronograph' (i will try to keep it short):

the chronograph has a face that shows time and two buttons: "start/stop" (button a) and "reset/split" (button b). if you have a lot of time on your hand you will count 6 8 different states the chron. can be in:

wrong description hidden
Spoiler

I have this also in matrix form but I really don't want to put them in. Is there anyone still with me? The question is whether there is a string of a's and b's that gets you to 0 regardless of the initial state.

I guess the only remotely, potentially interested people in this problem are watch geeks but yea who knows?

edit: the revised states are:

0. initial
1. simple run
2. stopped in additive mode
3. running in additive mode (can no longer go to split mode)
4. background running in split mode
5. background stopped in split mode
6. running in split mode
7. stopped in split mode (can only be reset)

(split mode: you can freeze one point in time while it is running in the background
additive mode: you stop at one point in time and then can restart it to add more than one interval)

effects of buttons:

state 0 1 2 3 4 5 6 7
but a 1 2 3 2 5 5 7 7
but b 0 4 0 3 6 7 4 0

This post has been edited by gwnn: 2012-January-06, 02:55

... and I can prove it with my usual, flawless logic.
      George Carlin
0

#2 User is offline   helene_t 

  • The Abbess
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,107
  • Joined: 2004-April-22
  • Gender:Female
  • Location:UK

Posted 2012-January-05, 05:23

The sequence (a,b,b) takes all states to either 0 or 1, while (a,b,b,b) takes them to 0 or 3, so the question is if there is a sequence that takes 0 as well as 1 to 0, or, alternatively, takes 0 as well as 3 to 0.

It seems to me to be impossible. I am a rubbish mathematician but I am sure Han can prove this to be the case. (That it is impossible to solve the problem, not that I am a rubbish mathematician, I mean).

This R sniplet can be used to experiment:

a=0
b=1
f=function(s) {
res = 0:5
for(i in s) {
if(i==a) res = c(1,2,1,4,4,5)[res+1]
if(i==b) res = c(0,3,0,1,5,0)[res+1]
}
return(res)
}
> f(c(b,b,b))
[1] 0 3 0 1 0 0
The world would be such a happy place, if only everyone played Acol :) --- TramTicket
0

#3 User is offline   WellSpyder 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,627
  • Joined: 2009-November-30
  • Location:Oxfordshire, England

Posted 2012-January-05, 05:26

Yes, sounds like a completely pointless problem, but isn't that what maths is all about? :)

Anyway, I found it tough to follow your initial exposition of the problem, but the final description of what state results from applying each button to each initial state is entirely clear. Maybe someone can find a shorter solution, but I've got a 5-step one which I will add as soon as I've worked out how to produce hidden text.....
0

#4 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-05, 05:33

BTW I found out a few other states, lol. Turns out a, a, a does not yield 1 and neither does a, b, b.

state 0 1 2 3 4 5 6 7
but a 1 2 3 2 5 5 7 7
but b 0 4 0 3 6 7 4 0

I had a 7 solution maybe your 5 still works?
... and I can prove it with my usual, flawless logic.
      George Carlin
0

#5 User is offline   WellSpyder 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,627
  • Joined: 2009-November-30
  • Location:Oxfordshire, England

Posted 2012-January-05, 05:33

View PostWellSpyder, on 2012-January-05, 05:26, said:

Yes, sounds like a completely pointless problem, but isn't that what maths is all about? :)

Anyway, I found it tough to follow your initial exposition of the problem, but the final description of what state results from applying each button to each initial state is entirely clear. Maybe someone can find a shorter solution, but I've got a 5-step one which I will add as soon as I've worked out how to produce hidden text.....


Sorry, still can't see how to do this - I thought there would be a simple "spoiler" button. Anyway, in trying to set out my solution more clearly I see it doesn't actually work - oops! So I'll have another look. I'd better do some work first, though....
0

#6 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-05, 05:37

It is actually rubbish - if I start, stop, restart why can't I use the split button any more and if I press start, split, resume, why can't I use stop, restart? Does anyone have an expensive chrono watch and try?
... and I can prove it with my usual, flawless logic.
      George Carlin
0

#7 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-05, 05:38

(spoiler) solution(/spoiler) with [ ] stuff around
... and I can prove it with my usual, flawless logic.
      George Carlin
1

#8 User is offline   WellSpyder 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,627
  • Joined: 2009-November-30
  • Location:Oxfordshire, England

Posted 2012-January-05, 06:27

View Postgwnn, on 2012-January-05, 05:37, said:

It is actually rubbish - if I start, stop, restart why can't I use the split button any more and if I press start, split, resume, why can't I use stop, restart? Does anyone have an expensive chrono watch and try?

How about getting a watch with a built-in light???
0

#9 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-05, 07:20

:-) yes but that's not the point. Suppose I start the clock for my running but then I stop to tie my shoelaces. However, when I restart my watch I can't use the split time any more (aaab does nothing) But I know I am not making myself clear.
... and I can prove it with my usual, flawless logic.
      George Carlin
0

#10 User is offline   Gerben42 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,577
  • Joined: 2005-March-01
  • Gender:Male
  • Location:Erlangen, Germany
  • Interests:Astronomy, Mathematics
    Nuclear power

Posted 2012-January-05, 10:38

Take out the batteries and put them in again.
Two wrongs don't make a right, but three lefts do!
My Bridge Systems Page

BC Kultcamp Rieneck
0

#11 User is offline   Trinidad 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,531
  • Joined: 2005-October-09
  • Location:Netherlands

Posted 2012-January-05, 18:52

View PostGerben42, on 2012-January-05, 10:38, said:

Take out the batteries and put them in again.

This separates the physicists from the mathematicians.

Rik
I want my opponents to leave my table with a smile on their face and without matchpoints on their score card - in that order.
The most exciting phrase to hear in science, the one that heralds the new discoveries, is not “Eureka!” (I found it!), but “That’s funny…” – Isaac Asimov
The only reason God did not put "Thou shalt mind thine own business" in the Ten Commandments was that He thought that it was too obvious to need stating. - Kenberg
0

#12 User is offline   kenberg 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 11,067
  • Joined: 2004-September-22
  • Location:Northern Maryland

Posted 2012-January-06, 11:20

I am having trouble following the current status of this problem. I came late but there are solutions and/or modifications?

With
state 0 1 2 3 4 5 6 7
but a 1 2 3 2 5 5 7 7
but b 0 4 0 3 6 7 4 0

I think aabbabaaabab (applied in order starting at the left) does it. It would not amaze me if something shorter does it. The aabb takes everything to either 0 or 3, after which
the remaining sequence

abaaabab

applied to 0 gives
14555770

and applied to 3 gives
20123320

I have checked it, but errors creep in for such things.

But there is a solution of length 7? or 5? As I say, I am not clear on the status.
Ken
0

#13 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-06, 12:16

My solution is 7 long and works. How did you find it? Mine was mostly based on trial and error. I wonder if this is a known problem in matrix algebra. Basically you have two matrixes A and B and you have to find a way to combine them in a long row of matrix multiplication so that the result is a matrix with exactly one row of all ones (and the rest is zero).
... and I can prove it with my usual, flawless logic.
      George Carlin
0

#14 User is offline   kenberg 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 11,067
  • Joined: 2004-September-22
  • Location:Northern Maryland

Posted 2012-January-06, 13:09

I found it while expecting to find a proof that it was not possible.

The general set up is as follows: Suppose A is some set of numbers from 0 through 7. Push one of the buttons. If you know that before the push the state is one of the numbers in A, then you know that after the push it will be one of the numbers obtained from A. We want a sequence of pushes that ultimately takes S={0,1,2,3,4,5,6,7} to {0}.

It was only a little playing around to see that we can quickly get from S to {0,3}. I expected to be able to create a collection C of subsets, each with two elements exactly, such that every application of either button would take each of these pairs into another one of the pairs. For example, b applied to {0,3} gives {0,3}, while a applied to {0,3} gives {1,2}. So then apply a and b to {1,2}. It only took a few minutes to find, contrary to my expectations, a sequence ending in {0,0}={0}. I stopped then. Presumably I could have found other sequences.

Definitely the Biblical Method, seek and ye shall find. No insight. If you vary the button functions I have to start from scratch.
Ken
0

#15 User is offline   gwnn 

  • Csaba the Hutt
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 13,027
  • Joined: 2006-June-16
  • Gender:Male
  • Location:Göttingen, Germany
  • Interests:bye

Posted 2012-January-06, 14:39

Mine was
Spoiler
. Actually I found this for my initial conditions but it also works for the new ones.
... and I can prove it with my usual, flawless logic.
      George Carlin
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users