1
$\begingroup$

Let's say I have 3 people who each has a random number:

A: 1920970862902
B: 1920970862087
C: 1920970861233

How do I create a single number $X$ from $N$ (in this case, 3) numbers, where if I give $X$ to $A$, $B$ or $C$, they will be able to use $X$ to determine if their own number is inside? Is this even possible?

Extra Info: I'm using this for a programming function, so I would prefer simple formulas.

  • 0
    @RobertIsrael: Thanks for your input. In that case I'll probably have no choice but to adopt lhf's method.2012-05-23

1 Answers 1

0

If you're dealing with timestamps they're probably counted from a far away date. Move to a date closer to now but still far from the timestamps and you'll be able to use less digits to represent each timestamp. I've used 1920970860000 for that closer date in my comment and got 2902, 2087, 1233, joined together into 290220871233. But for 100 timestamps you'll still need several digits, probably 400 say.