Doubt Nuclear Reactors

sir can u tell me when combinatation is 25 4 4,then why answar is 1 0 1 instead of 0 0 1…

problem statement

If(k==4)

1: 1 0 0 0

2: 2 0 0 0

3: 3 0 0 0

4: 4 0 0 0

5: 0 1 0 0

6: 1 1 0 0

7: 2 1 0 0

8: 3 1 0 0

9: 4 1 0 0

10: 0 2 0 0

11: 1 2 0 0

12: 2 2 0 0

13: 3 2 0 0

14: 4 2 0 0

15: 0 3 0 0

16: 1 3 0 0

17: 2 3 0 0

18: 3 3 0 0

19: 4 3 0 0

20: 0 4 0 0

21: 1 4 0 0

22: 2 4 0 0

23: 3 4 0 0

24: 4 4 0 0

25: 0 0 1 0

3 Likes

guidance: Pre-Algebra 3 - Decimal, Binary, Octal & Hexadecimal - YouTube

suppose input:
25 4 4
that means A=25(bombarded particles), N=4(capacity of chamber), K=4(number of chambers)
step-by-step illustration of chambers with consisting particles in it:
1: 1 0 0 0
2: 2 0 0 0
3: 3 0 0 0
4: 4 0 0 0
5: 0 1 0 0
6: 1 1 0 0
7: 2 1 0 0
8: 3 1 0 0
9: 4 1 0 0
10: 0 2 0 0
11: 1 2 0 0
12: 2 2 0 0
13: 3 2 0 0
14: 4 2 0 0
15: 0 3 0 0
16: 1 3 0 0
17: 2 3 0 0
18: 3 3 0 0
19: 4 3 0 0
20: 0 4 0 0
21: 1 4 0 0
22: 2 4 0 0
23: 3 4 0 0
24: 4 4 0 0
25: 0 0 1 0

first of all, K = 4 here :wink: so both answers you wrote are incorrect

so what is correct answar and why?

@jhabar see the answer :wink:

yes, this one is correct :wink: