No new puzzle this month. Let’s get straight into the answer from last month. Judging from the answers, this one wasn’t as explained as well as it could have been. So, we’ll go through what was in our brains when we wrote it.

There is a sequence that starts with: 2, 4, 6, 8 and is followed by a blank. There are many **numbers** that **could** follow. We weren’t aware of this when we wrote the puzzle but at oeis.org there are about 200 sequences, many obscure, some irrelevant, that start with 2, 4, 6, 8. I’m going to include the puzzle solution factoring in all of these potential, mostly obscure, sequences. From analysis of these obscure sequences, none continue to 3, 6, 13 or 26. This will be relevant later.

Of all the numbers that can follow they fall into **three** categories. The number could be larger, smaller or the same as the last. What we are trying to do is to reduce our options and we’re using a technique known as equivalence partitioning.

Initial thoughts guesses:

- 2, 4, 6, 8, 6
- 2, 4, 6, 8, 8
- 2, 4, 6, 8, 10

Our first four numbers show that the sequence isn’t a decreasing sequence. The smaller (6) and equal (8) numbers prove that the sequence doesn’t have to be increasing. The larger number, if you chose 10, tells you nothing new. But we can do better with our first guess:

- 2, 4, 6, 8, 3

If 3 is in the sequence, then we have a non-increasing sequence that allows odd numbers and isn’t an obscure sequence.

- 2, 4, 6, 8, 3, -1

If we follow that up with -1 and it is allowed, then we can have any number in the sequence and it will be allowed. If -1 is not allowed. We can have any non-negative number. Follow this up with a 0. If we allow 0, then we do allow any non-negative number. If 0 is not in the sequence, then our sequence has to be made of positive numbers.

- 2, 4, 6, 8, 3, -1 –> any number
- 2, 4, 6, 8, 3, -1x, 0 –> any non-negative number
- 2, 4, 6, 8, 3, -1x, 0x –> any positive number

Let’s go back to the 3 and if that is not in the sequence. We should follow up with a 13. If we allow 13 then we know that odd numbers are ok, but smaller numbers are not. We also know that it isn’t an obscure sequence but we still not sure if the sequence is a greater than or a greater than or equal to. So we follow that up with another 13.

- 2, 4, 6, 8, 3x, 13, 13 –> Any number that is greater to or equal to the prior
- 2, 4, 6, 8, 3x, 13, 13x –> Any number that is greater than the prior.

What if 13 isn’t allowed. We are the point where we know that odd numbers are not allowed but that’s all we know. So we should follow that up with a 6. We need to know if smaller numbers are supported.

- 2, 4, 6, 8, 3x, 13x, 6 –> Any even number

If the 6 is not successful we try an 8. If the 8 is in the sequence we have a greater than or equal to situation. When the 8 is not in the sequence we follow up with a 26. We need to know if the sequence is one of the obscure ones or just an ever increasing even number

- 2, 4, 6, 8, 3x, 13x, 6x, 8 –> any even number that is greater to or equal to the prior
- 2, 4, 6, 8, 3x, 13x, 6x, 8x, 26 –> any even number that is greater than the prior
- 2, 4, 6, 8, 3x, 13x, 6x, 8x, 26x –> a special pattern from oeis.org

How do we deal with the special patterns? That same way we have before, what’s the number that tells us the most about what we don’t know yet. What challenges our assumptions the most.

Of the potential next numbers it could be 10, 12, 14, 16, 18, 20, 22, 24, 30, 32, 38, 50 and 212. But when waited for number of sequences that have that number next the order changes to: 10, 12, 16, 20, 24, 22, 14, 18, 30, 32, 38, 50 and 212. There are 37 sequences that continue to 10. 27 that continue to 12 and the remainder have 5 or fewer options, most only have 1.

We continue the process as before, whittling away. No prizes are awarded this month.

⁂

For those that want to do some analysis on the oeis.org dataset, you can do the following:

Get all the things:

`for (( c=0; c<=854; c += 10 )) do`

wget -k "http://oeis.org/search?q=2,4,6,8&start=$c&fmt=data" -O $c.html;

done

Merge all the things:

`cat *.html > merged.html`

Open up sublime, and find all occurances of `<tt>`

, expand selection to the line, cut the selection. New document, paste. Remove the `<tt>`

and `</tt>`

.

Now you have the dataset. F5 will sort the lines. Remove all those that don’t start with 2, 4, 6, 8. You can use a regex find here `^2, 4, 6, 8`

.

Enjoy.