Let ,
 
, and
| 
 
(1)
 
 | 
where
| 
 
(2)
 
 | |||
| 
 
(3)
 
 | 
Then if either 
 and 
,
 or 
 and 
,
| 
 
(4)
 
 | 
where 
 is a Bernoulli polynomial, and the second
 term on the right side can be written explicitly as
| 
 
(5)
 
 | 
Let ,
 
, and
| 
 
(1)
 
 | 
where
| 
 
(2)
 
 | |||
| 
 
(3)
 
 | 
Then if either 
 and 
,
 or 
 and 
,
| 
 
(4)
 
 | 
where 
 is a Bernoulli polynomial, and the second
 term on the right side can be written explicitly as
| 
 
(5)
 
 | 
Weisstein, Eric W. "Iseki's Formula." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/IsekisFormula.html