A cube n × n × n is formed by $n ^ 3$ unitary cubes and initially has a red cube in only one of its vertices. We number this cube with the number 1. Every day from day 2, neighboring cubes (cubes with common faces) to red cubes also turn red and are numbered with the day number.
For example, the cube 2 × 2 × 2 above, on the first day, has a red cube with the number 1, on the second day has four red cubes, one with the number 1 and three with the number 2, on the third day has seven , a cube with the number 1, three with the number 2 and three with the number 3, and only on the fourth day will have all their little cubes in red color. To represent the final numbering we can use n trays representing each n of the cube layers viewed from the front. For example, for the 2 × 2 × 2 cube above we have the following layers:
b) In a 10 × 10 × 10 cube, how many cubes are numbered with 7? And how many are numbered with 13?
c) In a 2018 × 2018 × 2018 cube, which number appears most often in the numbering of the cubes? (If there are more than one number that appears the most times list them all.)