
base conversion


conversion of value y from base b to n



	x = b ^ int(log(n)/log(b)+1)


	while x > 0

		a = int(y/x)

		y = y - a * x

		x = x / b

		output a
	
	end loop

	reverse order of the output digits
	
	



x^y = x raised to the power y

3^2 = 9

		
	
