Skip to main content
Data Science Wizardry Blog by Attila Vajda

Dub playlist

Ways to arrange dots and dividers #

What I struggle with is this. I don't know how many ways to arrange sticks and stones, when there is a maximum amount of stones to be arranged between sticks.

Practicing air judo/bjj is fun!

"You worked really hard on this! Your dedication paid off."

In how many ways can we: nCk {0,1,2,3}

n integers 0 to n-1

width: places

P(A1+A2+A3+A4)=P(A4)2P(A_1 + A_2 + A_3 + A_4) = P(A_4)^2

1 0 1 1 0

2 (32)3\choose2 {0,1} :: 1331 011 101 110

2 (31)3\choose1 {0,1,2} :: 1331 11 20 02 3 {0,1,2,3} 4C2 ::: 146411 4 6 4 1 30 03 12 21

Possible pairs adding up to 5: (1, 4), (2, 3), (3, 2), (4, 1)

Journal page of polygot programming learning, and memorising/structuring proofs