Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.

What condition er assuming p is a prime other than 2 or 5, then, according to Fermat's theorem, what type of decimal will 1/p always be?
Assuming p is a prime other than 2 or 5, then, according to Fermat's theorem, what type of decimal will 1/p always be?