 Hello and welcome to the session. In this session we will discuss the following question. The question says if p upon q is a rational number where we have q is not equal to 0, what is the condition on q so that the decimal representation of p upon q is terminating? The key idea that we use for this question that for rational number x of the form p upon q if the prime factorization of q is of the form 2 raised to the power n into 5 raised to the power m where we have n and m are the non-negative integers when we say that the rational number x has a decimal expansion which terminates. Now let's move on to the solution. We are given the rational number p upon q that is we have p upon q is a rational number with q not equal to 0. We need to find the condition on q so that the decimal representation of p upon q is terminating. So using the key idea we say that the prime factorization of q should be of the form 2 raised to the power n into 5 raised to the power m where we have these n and m are non-negative integers so that the decimal representation p upon q is terminating. So our final answer is that the condition on q so that the decimal representation of p upon q is terminating is that the prime factorization of q is of the form 2 raised to the power n into 5 raised to the power m where we have n and m are non-negative integers. So this is the final answer for the given question. So this completes the session hope you have understood the solution of this question.