using a rule method in algebra {1, 4, 9, 16, 25}