# Missing number in 5-cell grids

Find the missing number in these grids. I was unable to find any pattern.

Choices:

1. 9
2. 6
3. 8
4. 4

source: Borhan Motevasete magazine, Oct. 2007

Edit: Changed the reasoning based on Jaap Scherphuis's comment as it seems more natural.

I think the answer is

$6$

Reasoning

Add the numbers in the lower four boxes and take the absolute difference between the digits in the result to the get the number at the top (Originally: take the residue modulo $11$ to get the number at the top)

Examples

$4+1+6+3 = 14 \rightarrow |1-4| = 3$
$9+2+7+8 = 26 \rightarrow |2-6| = 4$
$3+1+8+5 = 17 \rightarrow |1-7| = 6$

• The eleven seems a bit too arbitrary; there are only two samples, so if a modulus like that were allowed, almost any rule could be made to fit. – Bass Jul 15 '18 at 23:01
• Slightly less arbitrary than mod 11 would be to take the difference of the two digits. It boils down to exactly the same thing since in all three cases the second digit is larger than the first. – Jaap Scherphuis Jul 16 '18 at 4:20
• @JaapScherphuis Thank you, that's a good suggestion. – hexomino Jul 16 '18 at 8:43