Click here to Skip to main content
15,895,777 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Kornfeld Eliyahu Peter6-Feb-17 2:49
professionalKornfeld Eliyahu Peter6-Feb-17 2:49 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Bassam Abdul-Baki6-Feb-17 2:42
professionalBassam Abdul-Baki6-Feb-17 2:42 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Midi_Mick6-Feb-17 2:08
professionalMidi_Mick6-Feb-17 2:08 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Kornfeld Eliyahu Peter6-Feb-17 2:22
professionalKornfeld Eliyahu Peter6-Feb-17 2:22 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Midi_Mick6-Feb-17 2:47
professionalMidi_Mick6-Feb-17 2:47 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Kornfeld Eliyahu Peter6-Feb-17 2:54
professionalKornfeld Eliyahu Peter6-Feb-17 2:54 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Daniel Pfeffer6-Feb-17 3:12
professionalDaniel Pfeffer6-Feb-17 3:12 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Midi_Mick6-Feb-17 3:22
professionalMidi_Mick6-Feb-17 3:22 
Although I am not good at mathematics, I am good at arithmetic, and (possibly because of my programming experience), I do tend to notice patterns. I think the clue to solving that question would be to take note of the expression that normalises the fractions: Each numerator becomes 2 ^ (totalSteps - stepsTaken), and the denominator is (2 ^ totalSteps) - 1. I think (but cannot prove) that the resulting numerator is 2 ^ (totalSteps - 1).

resulting in
x = (2^(n - 1)) / ((2 ^ n) - 1)
where n is the number of jumps needed. This works for both the 2/3 and 8/15 we've already explored. As I'm not sure how to prove it, cannot guarantee I'm right for all cases.
Cheers,

Mick
------------------------------------------------
It doesn't matter how often or hard you fall on your arse, eventually you'll roll over and land on your feet.

GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
OriginalGriff6-Feb-17 1:59
mveOriginalGriff6-Feb-17 1:59 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
lopatir6-Feb-17 0:57
lopatir6-Feb-17 0:57 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
OriginalGriff6-Feb-17 1:59
mveOriginalGriff6-Feb-17 1:59 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
lopatir6-Feb-17 3:55
lopatir6-Feb-17 3:55 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Marc Clifton6-Feb-17 2:10
mvaMarc Clifton6-Feb-17 2:10 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Kornfeld Eliyahu Peter6-Feb-17 2:26
professionalKornfeld Eliyahu Peter6-Feb-17 2:26 
GeneralRe: TWCP OTD (The Who Cares Puzzle Of The Day) - 6th of February, 2017 Pin
Mark_Wallace6-Feb-17 3:49
Mark_Wallace6-Feb-17 3:49 
GeneralWSO CCC 6/2/17 Pin
PeejayAdams5-Feb-17 22:11
PeejayAdams5-Feb-17 22:11 
GeneralRe: WSO CCC 6/2/17 Pin
LabVIEWstuff5-Feb-17 22:31
LabVIEWstuff5-Feb-17 22:31 
GeneralRe: WSO CCC 6/2/17 - WINNER Pin
PeejayAdams5-Feb-17 22:43
PeejayAdams5-Feb-17 22:43 
GeneralRe: WSO CCC 6/2/17 - WINNER Pin
LabVIEWstuff6-Feb-17 2:09
LabVIEWstuff6-Feb-17 2:09 
GeneralRe: WSO CCC 6/2/17 - WINNER Pin
PeejayAdams6-Feb-17 2:47
PeejayAdams6-Feb-17 2:47 
General[Darwin] Early awardee for 2017 Pin
Rajesh R Subramanian5-Feb-17 12:52
professionalRajesh R Subramanian5-Feb-17 12:52 
GeneralRe: [Darwin] Early awardee for 2017 Pin
Richard MacCutchan5-Feb-17 22:22
mveRichard MacCutchan5-Feb-17 22:22 
GeneralRe: [Darwin] Early awardee for 2017 Pin
Mark Parity5-Feb-17 22:30
Mark Parity5-Feb-17 22:30 
GeneralRe: [Darwin] Early awardee for 2017 Pin
Mark_Wallace5-Feb-17 23:02
Mark_Wallace5-Feb-17 23:02 
GeneralRe: [Darwin] Early awardee for 2017 Pin
Corporal Agarn6-Feb-17 1:11
professionalCorporal Agarn6-Feb-17 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.