MathDB
Dien Bien fillings with integers of unit cubes, VNTST 2014 p6

Source: Vietnam TST 2014 (VNTST) P6

August 27, 2018
geometric transformationcombinatoricscombinatorial geometrycube

Problem Statement

m,n,pm,n,p are positive integers which do not simultaneously equal to zero. 33D Cartesian space is divided into unit cubes by planes each perpendicular to one of 33 axes and cutting corresponding axis at integer coordinates. Each unit cube is filled with an integer from 11 to 6060. A filling of integers is called Dien Bien if, for each rectangular box of size {2m+1,2n+1,2p+1}\{2m+1,2n+1,2p+1\}, the number in the unit cube which has common centre with the rectangular box is the average of the 88 numbers of the 88 unit cubes at the 88 corners of that rectangular box. How many Dien Bien fillings are there? Two fillings are the same if one filling can be transformed to the other filling via a translation.
translation from [url=http://artofproblemsolving.com/community/c6h592875p3515526]here