Anagram variationally