Write the greatest and the smallest -digit numbers using by using any one digit twice.
Step 1. Forming greatest -digit number:
While forming a greatest number using given digits, arrange the digits in descending order from extreme left.
Repeating the greatest digit would give us greatest number when arranged in descending order.
Now, .
So, is the required number.
Step 2. Forming smallest -digit number:
While forming a smallest number using given digits, arrange the digits in ascending order from extreme left.
Repeating the smallest digit would give us smallest number when arranged in ascending order.
Now, .
So, is the required number.
Thus, and are the greatest and smallest -digit numbers using by using any one digit twice.