Ninja edit: I could have sworn that I tried treating the data as an image before, but I suppose I had the dimensions reversed because it didn’t work out. On my way to figuring this level out. Details later.

Been hitting my head against level 30 of the Python Challenge. The hint forum seems quite dead — it has been a couple years since a new puzzle came out — and a lot of sites external to the solutions wiki fall short of level 30, so I figured that asking here is about as good as asking anywhere else.

Anyway, many of the puzzles don’t require specific use of Python, and this one of those, I think. Check out the CSV file. It’s not quite a perfect CSV because there’s a number missing from the last row, but treat it more as a list of floating point numbers. From the available hints, the starting point is to find the length of the list (7367) and obtain its factors (53 and 139, which are prime).

Now, we are supposed to be look at the data in a “different way” with the factors obtained. “Formula” is a term that’s thrown around a lot, and I just can’t see one. I mean, how might 0.82207, 0.91181, etc. be related to 53 and 139? One thing to consider is that the decimal is misleading, in which case how might 82207, 91181, etc. be related to 53 and 139?

I’d be interested in any thoughts on this.

Tags: ,
6 Responses to “A request for hints”
  1. I’m stuck at this level too !
    Did you get further ?

  2. introspect says:

    Yup, I actually solved it shortly after posting this entry.

    Check out the hints in the Python Challenge hints forum, if you haven’t already done so. Specifically, get some factors, and look at the data you have, using those factors. See the ninja edit I made.

    And if you’re still really stuck, remember that “looking” at data differently is a code word for “turn it into an image.”

  3. Thanks for your answer.
    I already checked the forum but it didn’t help me a lot.
    I guess the data i have in the csv could give me a picture of 53*139.

    I tried to find the prime factor of 82207, but it’s a prime :-)
    91181’s prime factors are 19 and 4799… doesn’t help. I expected the factors to be coordinates or rgb values…

    Well, if you could help me i would be grateful

  4. introspect says:

    Yep, those are the dimensions of the image, but you’re over-thinking things a bit. Don’t treat the floating point numbers as integers - that part in the forums is misleading. Treat them as floats, one float per pixel, so you won’t have an ‘RGB’ mode image, but an ‘L’ mode image. How you decide which of the primes is the width and which is the height, and how you convert floating point to integers to get those pixel values, I’ll have to leave up to you. Can’t give away the whole thing :)

    I should note that you’re not out of the woods yet - the forums had a lot of talk about a formula, which you will “see” once you get the image right.

  5. Got it !

    Now i’m stuck with a fractal :-)

  6. introspect says:

    Ah, the fractal. I actually didn’t solve this one, but rather guessed the right answer just by reading the hints thread for that puzzle, because a certain number comes up multiple times along with some mention that the number is significant. I just searched for the significance of that number and got the answer.

    But the “right” way is to generate the fractal image using the parameters given to you, and then look for any differences. Once you have a list of differences, consider the length and then look at what you did with the length of a list in the level you just solved.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>