Given the following function call:
- factor_of_sequence(2);
And the resulting output:
- [0,3,0,0,6,0,0,9,0,0,12];
Create a function definition that achieves the output with the given input.
Given the following function call:
And the resulting output:
Create a function definition that achieves the output with the given input.