Square and Cube Numbers and roots