Skip to content

Odyn hits 5K - Get with the Program Mystery Cache

Difficulty:
5 out of 5
Terrain:
2.5 out of 5

Size: Size:   not chosen (not chosen)

Join now to view geocache location details. It's free!

Watch

How Geocaching Works

Please note Use of geocaching.com services is subject to the terms and conditions in our disclaimer.

Geocache Description:


This is a puzzle cache. The Posted Coords, while not where you will find the cache, is where you will find some decent parking.

n9tog and Tzinny noticed that Odyn was approaching 5000 smileys and decided he needed a milestone cache. Hmmmm...What to do? Well, we have come to know Odyn by consulting with him on several puzzles. Usually, the consultation involves n9 and I throwing out meaningless theories and Odyn actually solving the puzzle. As such, we knew there was no way we could create a puzzle that would cause Odyn to break a sweat. Therefore, we reached out to the puzzle master himself, Darth Leviosa who jumped at the chance to not only honor Odyn but to finally try and stump him. DL's puzzles have challenged Odyn but he ultimately has earned the smiley on each one (well...Reservoir Dogs still lingers). We now needed info about Odyn. Who is the man behind this puzzle solver? To learn about Odyn, we contacted one of Odyn's primary geobuddies, Genius Loci, who provided us some facts to personalize the puzzle. Thanks GL.

The puzzle below is DL's creation so if you need assistance, don't come running to n9 or Tzinny. Good Luck!!!

North

One day, Odyn was working on the latest version of his flagship application when Greenback burst into his office. "I just received these requirements from our biggest client and they need them implemented today!" Greenback exclaimed. Odyn coolly looked over the requirements and replied "No problem. I'll have this done in a few minutes."

Here are the requirements:

Feature 1 - Add up all the digits in the integers between 0 and X.
Feature 1.1 - Do not add any 4's.
Feature 1.2 - Only add every other 5.

Use Case 1

X=25

0 0
1 +1
2 +2
3 +3
4 (skip all 4's)
5 +5 (add the first 5)
6 +6
7 +7
8 +8
9 +9
10 +1+0
11 +1+1
12 +1+2
13 +1+3
14 +1 (skip all 4's)
15 +1 (don't add the second 5)
16 +1+6
17 +1+7
18 +1+8
19 +1+9
20 +2+0
21 +2+1
22 +2+2
23 +2+3
24 +2 (skip all 4's)
25 +2+5 (add the third 5, and so on)
Total 110

Odyn quickly wrote the code and then set X to 215272. The result is the north coordinates.


West

The next day, Odyn was relaxing at home playing with his cat when there was a knock on the door. Odyn opened the door and katguy came in scratching his head. "I need to figure out what the heck this code that Genius Loci wrote is doing. Can you help me?" katguy asked. "Sure, let's take a look," replied Odyn.

Here is the code:
main {
  display n9tog + tzinny + darthleviosa(1337)
}

function n9tog{
  n9tog = 1
  loop i = 1 to 4 {
    n9tog = n9tog + (n9tog ^ i) / n9tog
  }
  if (n9tog > 8000) {
    n9tog = n9tog + 50000
  }
  else {
    n9tog = n9tog + 13370
  }
  loop i = 1 To 1337 {
    n9tog = n9tog + i * 3
  }
}

function tzinny{
  tzinny = 87
  tzinny = 42 * tzinny
  tzinny = 10000 + 8888
  tzinny = tzinny / 2
  temp = tzinny
  loop i = 1 To temp {
    tzinny = i + 1
  }
  tzinny = tzinny * 150
  tzinny = 4 * tzinny / 2
  tzinny = 333333 - 128 + tzinny - 1337 - 42
}

function darthleviosa(parm){
  darthleviosa = parm * 28
  if (darthleviosa > 100000) {
    darthleviosa = darthleviosa * 2
  }
  else {
    darthleviosa = darthleviosa(darthleviosa + parm * 10) + parm
  }
}


Odyn quickly scanned through the code and told katguy what would be displayed when it ran. The result is the west coordinates.

Some helpful information:
  • The code in this puzzle is not a specific programming language. It is "psuedo-code" and is meant to illustrate the logic that should be executed when the code runs.
  • The code in "main" is run first.
  • "n9tog", "tzinny" and "darthleviosa" are functions. This means they can be called in code and will return a value. In this code, each function returns a number.
  • A loop runs the code in the brackets the specified number of times. "loop i = 1 to 4" will run the code in the brackets 4 times. The first time through, the variable "i" will be 1 since "i = 1 to 4". The second time through, i will be 2, and so on.
  • An "if" statement will run the code in brackets right after it if the condition in the parentheses is true. If the condition is false, then the code in the brackets after the "else" is run.
  • The darthleviosa function takes a parameter called "parm". This value is passed into the function when it is called and is available in the function's code in the variable "parm".
  • The darthleviosa function uses a concept called recursion where a function calls itself.
  • For more help, consult with your local computer programmer, check out google, or ask Odyn.

You can check your answers for this puzzle on Geochecker.com.

Additional Hints (No hints available.)