以m表示天干序号,n表示地支序号,则
K = 60-5(n-m)+m (mod 60)
比如:甲申 m = 1, n = 9, K = 60-5(9-1)+1 = 21;
又比如:癸丑 m = 10, n = 2, K = 60-5(2-10)+10 = 110 = 50 (mod 60)
另外,您表中排号40的应该是癸卯,不是癸丑!
K = 60-5(n-m)+m (mod 60)
比如:甲申 m = 1, n = 9, K = 60-5(9-1)+1 = 21;
又比如:癸丑 m = 10, n = 2, K = 60-5(2-10)+10 = 110 = 50 (mod 60)
另外,您表中排号40的应该是癸卯,不是癸丑!