Problem #PRU-35578

Problemas Métodos Principio extremal Principio extremal (otro)

Problem

In how many ways can you rearrange the numbers from 1 to 100 so that the neighbouring numbers differ by no more than 1?