We are given a positive integer nn which is not a power of 22. Show that there exists a positive integer mm with the following two properties:

(i) mm is the product of two consecutive positive integers;

(ii) the decimal representation of mm consists of two identical blocks of nn digits.