A number arrangement machine when given an input line of numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement:
Input: 84629 57426 76932 27483 49853 62434
Step I: 273 84629 57426 76932 49853 62434
Step II: 53 273 84629 57426 76932 62434
Step III: 572 53 273 84629 76932 62434
Step IV: 23 572 53 273 84629 76932
Step V: 732 23 572 53 273 84629
Step VI: 2 732 23 572 53 273
Step VI is the last step of the given arrangement. Based on the given logic, rearrange the given input.
Input: 63825 49857 38679 72548 45328 95763
Which of the following number is second to the left of fifth number from left end in step IV?
Correct Answer :
532
Solution :
The correct answer is 532.
Logic and Pattern Analysis:
By analyzing the given illustration step-by-step, we can identify two simultaneous operations taking place at each step:
1. Selection Rule: In each step, the smallest original number remaining in the row is selected.
2. Transformation Rule: The selected number is transformed by extracting only its prime digits (2, 3, 5, 7) while maintaining their original relative order from left to right. Non-prime digits (0, 1, 4, 6, 8, 9) are removed.
3. Placement Rule: The transformed number is placed at the extreme left end of the arrangement, shifting all existing elements to the right.
Applying the Logic to the Given Input:
Given Input numbers: 63825, 49857, 38679, 72548, 45328, 95763
Let's arrange the input numbers in ascending order to determine the selection sequence at each step:
1st smallest: 38679 ⇒ Prime digits: 3, 7 ⇒ Transformed to 37
2nd smallest: 45328 ⇒ Prime digits: 5, 3, 2 ⇒ Transformed to 532
3rd smallest: 49857 ⇒ Prime digits: 5, 7 ⇒ Transformed to 57
4th smallest: 63825 ⇒ Prime digits: 3, 2, 5 ⇒ Transformed to 325
5th smallest: 72548 ⇒ Prime digits: 7, 2, 5 ⇒ Transformed to 725
6th smallest: 95763 ⇒ Prime digits: 5, 7, 3 ⇒ Transformed to 573
Step-by-Step Rearrangement:
Input: 63825 49857 38679 72548 45328 95763
Step I: 37 63825 49857 72548 45328 95763
Step II: 532 37 63825 49857 72548 95763
Step III: 57 532 37 63825 72548 95763
Step IV: 325 57 532 37 72548 95763
Finding the Required Position in Step IV:
In Step IV, counting from the left end:
1st from left: 325
2nd from left: 57
3rd from left: 532
4th from left: 37
5th from left: 72548
6th from left: 95763
The fifth number from the left end is 72548.
The number second to the left of 72548 (i.e. the 3rd number from the left end) is 532.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.