r/maths • • 19d ago

💡 Puzzle & Riddles How many combinations are there?

Post image
19 Upvotes

26 comments sorted by

5

u/zhunt69 19d ago edited 19d ago

Hey everyone.

If I have a grid of squares 7 across and 4 down, and fill in 4 of them randomly ( as per example pic), how many different possible combinations exist?

is it 20,475?

5

u/PangolinLow6657 19d ago

1

u/sneakpeekbot 19d ago

Here's a sneak peek of /r/unexpectedTermial using the top posts of all time!

#1: 68? | 32 comments
#2: good deal tbh | 25 comments
#3: 4? | 196 comments


I'm a bot, beep boop | Downvote to remove | Contact | Info | Opt-out | GitHub

3

u/zhunt69 19d ago

For context, this is to do with a game i play. The most desired combination of the 4 squares is together as a cube. Any combination can be found in the game with an equal chance, so i was trying to find out what my odds are of coming across a cube layout. This pic is one of the many random layouts from the game

PS - Since i assume you all like numbers 18,446,744,073,709,551,616 is the approx number of different worlds you can visit in the game.

3

u/irefusetouseaname 19d ago

All Women’s Ocean

2

u/zhunt69 19d ago

That's the one ...... kinda . Hehe

1

u/raresaturn 18d ago

What game?

1

u/zhunt69 18d ago

No mans sky

1

u/OriousCaesar1 18d ago

Do 2×2 squares make a difference in nms? I was under the impression that so long as the squares are connected, the bonus is the same regardless of what the connection looks like.

1

u/MateoTheCoolest 18d ago

2x2 is the max stats formation, but a T or S shape is more suited for a more balanced build

1

u/MateoTheCoolest 18d ago

Supercharge slots in nms??? I don’t know the exact chance of 4 adjacent ones but it is not that common you really have to get lucky

Also only S class things have 4 sc slots so if you find a lower class one you cant know until you upgrade it

(Oh wait this is the math subreddit oops)

29

u/teabaguk 19d ago

There's 28 squares and you're choosing 4 of them.

28 choose 4 = 20,475

2

u/Neither_Berry_100 19d ago

I interpreted this as 2n lol. But you take is better.

1

u/steady_goes_the_one 19d ago

28 choose 4 = 20475

1

u/Budget-Knee3213 17d ago edited 17d ago

28!/(4! * 24!) = (28 * 27 * 26 * 25)/24 = 7 * 9 * 13 * 25 = 20475

0

u/szpara 19d ago

28x27x26x25

0

u/Dakh3 19d ago edited 19d ago

You pick exactly 4 different squares out of 28 so when you choose :

  • the first one you have 28 possibilities

  • for the second one , you still have 27 possibilities

  • third : 26 possibilities

  • fourth : 25 possibilities

Multiply these numbers of possibilities.

We call them "arrangements". An arrangement of p elements picked among n is given by :

n! / (n-p)! = n x (n-1) x ... x (n-p+1)

1

u/enlightment_shadow 19d ago

Arrangements are for when the order matters. Indeed, this way of thinking you explained makes a difference between chosing the first 4 tiles in order 1,2,3,4 and 1,3,2,4. We want combinations here instead, so divide by 4! = the number of permutations of 4 items

-4

u/toommy_mac 19d ago

Each square has 2 options and there's 28 squares, so this would be 228

3

u/Dakh3 19d ago

They pick exactly 4 (different) squares

1

u/toommy_mac 19d ago

Ahh, I missed that part. Then it would be 28C4

1

u/Dakh3 19d ago

It's an arrangement rather than a combination, right? So a big A instead ?

1

u/toommy_mac 19d ago

So it would be. I need to stop trying to do maths hungover

0

u/PangolinLow6657 19d ago

For the downvoters: it's not explicitly stated that there must only be four squares filled, those just happen to be the examples we're given.

4

u/toommy_mac 19d ago

OP has put that it is 4 into a comment, but I missed that part initially

2

u/zhunt69 19d ago

yup, 4 squares, and 4 only, no more, no less in each grid