Find the number of ways of arranging the numbers 1,2 ,3, 4, 5, 6 in a row so that the product of any two adjacent numbers is at least 5.
There are 650 ways.