StringMash.com

Geocache formula solver

Fill in the letters, work out the brackets, get the final.

47 characters
Updates as you type
Filled inN 52° 23.713 E 013° 010.125
CoordinatesN 52° 23.713 E 13° 10.125
Decimal degrees52.395217, 13.16875
DMSN 52° 23' 42.78" E 13° 10' 07.50"

Show the steps
  1. Values: A = 3, B = 7, C = 12.
  2. N 52° 2A.B(C+1) E 013° 0(A+B).C5
  3. A → 3
  4. B → 7
  5. (C+1) = 13
  6. (A+B) = 10
  7. C → 12
  8. = N 52° 23.713 E 013° 010.125

Using it

Put the values you've found on one line, as letters and numbers: A=3, B=7, C=12. Put the cache's formula on the next line, copied from the listing. The final appears as you type, with every substitution in the steps, the same point in decimal degrees and seconds, and links to open it in a map app.

Add values as you collect them. Until every letter has one, the steps say which are still needed, so you can check part of a formula on the way round.

How formulas are read

Outside brackets, a letter is replaced by its digits: with A=3, 2A is 23, and with B=7, A.B is 3.7. Inside round or square brackets is a sum: (C+1) with C=12 is 13, and its digits take the brackets' place. Brackets can hold +, −, × or *, ÷ or /, and % for the remainder, and can nest.

N, S, E and W at the start of each half are the hemisphere, so N 52° and E 013° stay as they are. A letter E inside the numbers, as in 1E.000, is still a variable.

Inside brackets, two letters side by side are an error rather than a guess: write (A*B) to multiply, or move them outside the brackets to put their digits side by side.

A worked example

With A=3, B=7 and C=12, N 52° 2A.B(C+1) becomes N 52° 23.713: 2 then A's 3, a point, B's 7, then C+1 = 13. E 013° 0(A+B).C5 becomes E 013° 010.125: 0, then A+B = 10, a point, then C's 12 and a 5. The steps list each of those, so a wrong value is easy to spot.

When the answer looks wrong

Most mistakes show up in the result. A minutes value of 60 or more can't be right, and the steps say so. A sum that doesn't come out whole, like (A/2) with A=7, is flagged too, since cache formulas are nearly always written to give whole numbers. Then check each value against the listing: a miscounted window or a misread date is the usual cause.

When the final is right, many owners add a checker. The puzzle lock makes one that works without a server.

Questions

Does it handle more than one formula?

Yes. Put each on its own line, such as a stage and the final, and each is filled in from the same values.

Is anything I type sent anywhere?

No. The sums run on your device, and the map links send the coordinates only if you follow one.

Will it work at the cache with no signal?

Yes. Press Save for offline on the geocaching toolkit page at home, and this solver is saved with it.

Sources

Added . What's new