mathematical patterns and scientific investigations