# Building palisade with Lego bricks

I have problem solving the following questions:

1. I have infinite amount of Lego bricks with 6 and 8 studs in length. I want to build a palisade that has the length of 48 studs . In what ways can I choose Lego bricks so that it fits perfectly?

2. If I want to build a really long palisade, say 480 studs, in how many ways can I do that?

My thoughts: I came to the conclusion that (6 Lego bricks of 8 studs), (8 Lego bricks of 6 studs) and (3 Lego bricks of 8 studs and 4 Lego bricks of 6 studs) are the only ways to get a palisade that has the length of 48 studs. I don’t know if it requires calculation to get those numbers, I just made some tests and came up with these numbers.

I have 3 cases (see above) and somehow I think that I have to see/get a pattern out of these cases and that pattern should be recursive? (I think?)

I don’t know how to start solving this and I cant see any pattern from my cases. I have tried solving it as a diophantic equation but the results did not say me anything.

Any tips and advice will help!

Mathematics Asked on November 12, 2021

The number of ways to partition $$48$$ into parts of size $$6$$ and $$8$$ is $$begin{eqnarray*} [x^{48}]: frac{1}{(1-x^6)(1-x^8)}. end{eqnarray*}$$ To do $$480$$ just replace the $$48$$ in the above formula.

Alternatively, the solutions of the equation $$6a+8b=48$$ can be parameterised by $$a=4t$$ and $$b=3(2-t)$$, so $$t$$ can take any value from $$0$$ to $$2$$. So there are $$3$$ solutions.

Answered by Donald Splutterwit on November 12, 2021

## Related Questions

### Stable and unstable manifolds of a linear system

3  Asked on February 25, 2021

### Two (different ?) definitions of a Gröbner-Basis

1  Asked on February 25, 2021 by sen90

### Divergence theorem: compute triple integral over a paraboloid between two planes

1  Asked on February 25, 2021 by bobinthebox

### Determinant of a certain Toeplitz matrix

2  Asked on February 25, 2021 by srdjan-pesevic

### Counting the number of words of a fixed length, where the number of times each character appears across all words is bounded

0  Asked on February 25, 2021 by szxk

### How many anagrams with a specific subword?

2  Asked on February 24, 2021 by hhhiuw

### continuous fraction for 30/pi^2

0  Asked on February 24, 2021 by vanessa

### Why $G/C_G(a) leq G/zeta(G)$ in this lemma?

1  Asked on February 24, 2021 by m-ramana

### Nim Game remove $1,3$ or $4$ matches

2  Asked on February 24, 2021

### $(a, b] cup [c, d)$ cannot be written as a union of open intervals

3  Asked on February 24, 2021 by clarinetist

### How to prove $f(A^*) =f(A)^*$

1  Asked on February 24, 2021 by probafds123

### About the notation of Axiom of Regularity

1  Asked on February 23, 2021 by lockedscope

### Integral involving exponentials of cosh functions

2  Asked on February 23, 2021 by user12588

### Mean and Variance for Random Variables X>0

1  Asked on February 23, 2021 by mike-pinnsoneault

### Have I sufficiently demonstrated the answer? A point is reached on an inclined plane that lies on a circle in the time take to fall directly.

0  Asked on February 23, 2021 by opensauce

### Prove the existence and uniqueness of the adjoint function of a linear function

1  Asked on February 23, 2021 by antonio-maria-di-mauro

### Optimal Strategy in Dice Game

3  Asked on February 23, 2021

### Proof of the fact that the closure of a set always contains its supremum and an open set cannot contain its supremum

2  Asked on February 23, 2021

### Show that $mathbb{Z}/5mathbb{Z} = langle arangle$

2  Asked on February 23, 2021 by user723228

### Is there a translation-invariant way to assign probabilities to infinite subsets of $mathbb{Z}$?

1  Asked on February 23, 2021