0
$\begingroup$

What the relation (Equation) between these numbers (X, Y, Z)?

enter image description here

Your answer will be highly appreciated.

$\endgroup$
5
  • $\begingroup$ $z=11(x-1)$ and $y=(x+2)\text{mod}10$. $\endgroup$ Aug 17, 2014 at 12:15
  • 1
    $\begingroup$ @Raskolnikov: That's not true for $x=8$ and $z=78$ for example. $\endgroup$
    – Frunobulax
    Aug 17, 2014 at 12:17
  • $\begingroup$ not exactly correct, for X >= 8, you need and extra 1, and after X >= 18 yet another one, so it would be Z = 11 * (X-1) + (X-8) div 10 $\endgroup$
    – Pieter21
    Aug 17, 2014 at 12:18
  • $\begingroup$ I'm unconvinced by your arguments without further information about the origin of the data and possible noise on them. $\endgroup$ Aug 17, 2014 at 12:25
  • $\begingroup$ @Raskolnikov: sorry for that, It is a homework. As you I don't have more info :( $\endgroup$
    – Kumar
    Aug 17, 2014 at 12:27

2 Answers 2

1
$\begingroup$

Well this works:

$$Z - Y = 10X + 11\left\lfloor\frac{X-8}{10}\right\rfloor -2$$

PARI-GP Script:

for(x = 1, 20, printf("X = %d, Z - Y = %d\n", x, 10 * x - 2 + 11 * floor((x - 8) / 10)))

Output:

X = 1, Z - Y = -3
X = 2, Z - Y = 7
X = 3, Z - Y = 17
X = 4, Z - Y = 27
X = 5, Z - Y = 37
X = 6, Z - Y = 47
X = 7, Z - Y = 57
X = 8, Z - Y = 78
X = 9, Z - Y = 88
X = 10, Z - Y = 98
X = 11, Z - Y = 108
X = 12, Z - Y = 118
X = 13, Z - Y = 128
X = 14, Z - Y = 138
X = 15, Z - Y = 148
X = 16, Z - Y = 158
X = 17, Z - Y = 168
X = 18, Z - Y = 189
X = 19, Z - Y = 199
X = 20, Z - Y = 209
$\endgroup$
7
  • $\begingroup$ unfortunately, not correct for 18 and maybe others $\endgroup$
    – Kumar
    Aug 17, 2014 at 12:42
  • $\begingroup$ Did you take into account the floor function part? I'll run a script and edit my answer with the results. $\endgroup$
    – Yiyuan Lee
    Aug 17, 2014 at 12:44
  • $\begingroup$ sorry :$, can you help me to figure what these bracket mean [] $\endgroup$
    – Kumar
    Aug 17, 2014 at 12:47
  • $\begingroup$ $\lfloor x \rfloor$ refers to the greatest integer that is not more than $x$. $\endgroup$
    – Yiyuan Lee
    Aug 17, 2014 at 12:51
  • $\begingroup$ Yes Yes Yes, it is work $\endgroup$
    – Kumar
    Aug 17, 2014 at 12:54
0
$\begingroup$

I notice that X * 11 is equal to the value under the corresponding value of the Z axis within a slight discrepancy. Eg 16 * 11 = 176. The corresponding value on the Z axis is 166. Under it is 177 which is close to 176. I think the discrepancy has something to do with Y axis

Sincerely,

WeedWizard420

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .