A non-transitory program recording medium storing a numerical splitting program, wherein the numerical splitting program causes a computer to achieve:
- a function of acquiring a numerical value w and a parameter p;
- a function of generating a first random number r1 and a second random number r2 which are random and are equal to or more than zero but less than the parameter p;
- a function of computing a third random number r3 based on the numerical value w, the parameter p, the first random number r1, and the second random number r2 in accordance with a mathematical expression r3=w−r1−r2 mod p;
- a function of computing first through third segments s1, s2, and s3 based on the first through the third random numbers r1, r2, and r3 and the parameter p in accordance with mathematical expressions s1=r1+r2 mod p, s2=r2+r3 mod p, and s3=r3+r1 mod p;
- and
- a function of transmitting a pair of the first segment s1 and the second random number r2, a pair of the second segment s2 and the third random number r3, and a pair of the third segment s3 and the first random number r1 to first through third secure computation devices, respectively.