Page 1 of 1

Polygons with right angles

Posted: Tue May 17, 2016 6:59 pm
by jnmcd
f(M, N) is defined as the number of ways a rectangle of size M by N can be filled by polygons with integer side lengths and angles of 90 degrees or 270 degrees.
Find (123456789, 987654321) mod 10,000,000,000