n-substring-friendly Algorithm

Enter exponent:
NOTE: Default x = 3, in 10(x).
Results will appear here !