What is the minimum number of dice painted with one letter on all six sides such that all permutations without repetitions of n letters can be formed by placing n dice together in a line?

What is the minimum number of dice painted with one letter on all six sides such that all permutations without repetitions of n letters can be formed by placing n dice together in a line?

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access