A simple combinatorics Le Monde mathematical puzzle: N is a golden number if the sequence {1,2,…,N} can be reordered so that the sum of any consecutive pair is a perfect square. What are the golden numbers between 1 and 25? Indeed, from an R programming point of view, all I have to do is to […]