Bram Cohen puzzle

Bram Cohen (the BitTorrent guy) posted one of the programming challenges he apparently uses in job interview screenings:

What is the exponent of the largest power of two whose base seven representation doesn’t contain three zeros in a row?

It’s implied that the solution should involve some coding. Here’s the original entry; here’s my take on a solution. The comments on Bram’s entry make interesting reading (it’s not quite what you might expect), but have a go at a solution first if you’re going to :) .

One Response to “Bram Cohen puzzle”

  1. R Narron Says:

    I have solved several of these puzzles and posted the answers on
    a blog:
    http://comet.homeunix.com/archive/3.html

Leave a Reply