Anagram sequence