Problem:
Question 1: How to find the largest prim factor of a number. Write the code in java.
Question 2: List the next SIX terms of the lexicographic ordering of the n-tuple 32654 where each digit is in the set {2,3,4,5,6}
Please show youe code step by step.