single, repeat_n, and generate_n range views, benchmark for pythagorean triples example