Need a formula that outputs the result below shown in the screenshot below:
I tried a combination of QUOTIENT() and MOD() functions.
QUOTIENT()
MOD()
You may try something in the style of:
={sequence(QUOTIENT(A2,C2),1,C2,0);mod(A2,C2)}