Archive for Kapla

Le Monde [last] puzzle [#1026]

Posted in Books, Kids, R with tags , , , , , on November 2, 2017 by xi'an

The last and final Le Monde puzzle is a bit of a disappointment, to wit:

A 4×4 table is filled with positive and different integers. A 3×3 table is then deduced by adding four adjacent [i.e. sharing a common corner] entries of the original table. Similarly with a 2×2 table, summing up to a unique integer. What is the minimal value of this integer? And by how much does it increase if all 29 integers in the tables are different?

For the first question, the resulting integer writes down as the sum of the corner values, plus 3 times the sum of the side values, plus 9 times the sum of the 4 inner values [of the 4×4 table]. Hence, minimising the overall sum means taking the inner values as 1,2,3,4, the side values as 5,…,12, and the corner values as 13,…,16. Resulting in a total sum of 352. As checked in this computer code in APL by Jean-Louis:

This configuration does not produce 29 distinct values, but moving one value higher in one corner does: I experimented with different upper bounds on the numbers and 17 always provided with the smallest overall sum, 365.

firz=matrix(0,3,3)#second level
thirz=matrix(0,2,2)#third level
for (t in 1:1e8){
for (i in 1:3) for (j in 1:3)
for (i in 1:2) for (j in 1:2)
if (length(unique(c(flor,firz,thirz)))==29)

and a further simulated annealing attempt did not get me anywhere close to this solution.

On a dreary evening…

Posted in Kids with tags , , , , , , on March 5, 2011 by xi'an

My daughter wrote the following funny and absurd to-do-list during a particularly dreary evening:

When you do not know what to do on a dreary evening you can

  • Raise a tent inside your bedroom,
  • Start a pillow-fight with the mirror,
  • Build a rubber duck in another material,
  • Get the breakfast table ready for the next morning,
  • Set all alarm-clocks in the house to 4am,
  • Train for a new signature on several rolls of toilet paper,
  • Order a pizza for the neighbours that are already asleep,
  • Write your memoirs in a book entitled Moi,
  • Sort fruits and vegetables by colour,then by size,
  • Evaluate the average filling time of a sand-glass,
  • Classify the spider webs in the house,
  • Build a temporary bed out of one’s books,
  • Paint one’s bedroom in fluorescent paint that forces monsters away,
  • Hide chocolate eggs all over the house for the next morning,
  • Shoe-shine others’ slippers,
  • Build a temporary bed with eight Kapla boxes,
  • Store letters cut in magazines in preparation for anonymous letters,
  • Post advertising posters in one’s street about the incoming Moi,
  • Create a trendy clothes rack.
%d bloggers like this: