Disclosed is an analogue chronograph comprising a digital display. A random value is generated and the random value is mapped to a prime number. An electric motor is arranged for driving the operating means. The optical element typically has a refractive surface for refractively collimating the illumination beam on the diffractive element and a reflective surface for reflecting the diffracted illumination beam on the detector.