Anagram factorise