Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ homeworkd 5024: The Condom Problem

Name: Anonymous 2015-08-17 1:03

A well known puzzle among combinatorialists is the following: m men
and n women, each with a different sexually transmitted disease, want
to engage in all mn sexual encounters with no one catching anyone
else's disease and with the minimal number of condoms being used.
You are allowed to nest condoms and to turn them inside out, but
once a surface becomes infected by a disease it stays infected for all
time.

Name: Anonymous 2015-08-17 1:11

turn them inside out
Herpes for everyone!

Name: Anonymous 2015-08-17 9:15

Sounds unsanitary.

Name: Anonymous 2015-08-17 12:10

with no one catching anyone else's disease
May I ignore this rule?

Name: Anonymous 2015-08-17 12:14

Well that's easy, you line them up and shoot them down.

Name: Anonymous 2015-08-17 12:38

All dudes get 1 condom. Don't take it off until you're done. Superglue around the base.

Name: Anonymous 2015-08-17 19:30

I have solved the general problem of the least number of condoms it
takes for m men and n women to have all mxn heterosexual encounters.
The answer is

m = n = 2 => 2 condoms

m = 2k+1, n = 1 => k+1 condoms

otherwise, it's the smallest integer greater or equal to m/2 + 2n/3.
I assume that m >= n, otherwise interchange m and n.

The same method solves the problem for m homosexual men all having
sex, and m bisexual men and n heterosexual women (posed by A. Orlitzky
and L. Shepp).

how many diseases do you think ilan vardi caught before he figured it out?

Name: Anonymous 2015-08-18 0:11

>>7
m = 2k+1, n = 1

That poor mans asshole

Name: Anonymous 2015-08-18 1:08

Condoms are cheap. Can't they just buy more.

Name: Anonymous 2015-08-18 2:09

What is the nesting threshold? Because wearing more than a couple condoms at a time decreases sensitivity to the point that it would be difficult to maintain erectile function.

Name: Anonymous 2015-08-18 11:53

>>1
Is your own homeworkd broken? Just ask it to do it instead.

Name: Anonymous 2015-08-18 12:27

Thanks for perpetuating toxic masculinity in the tech world, asshole

Name: Anonymous 2015-08-18 13:24

>>12
You forgot your "begone, troll, you lose", FFP-chan.

Name: Anonymous 2015-08-18 13:29

>>9
when's the last time YOU called for increased funding for combinatorics? now they're going to breed and we'll have to find a meaner, scarier breed of mathematician to introduce in order to cull their population

Name: Anonymous 2015-08-18 22:57

>>13
You lose, troll, you lose. Begone.

Name: Anonymous 2015-08-20 9:05

wwww

Name: Anonymous 2015-08-20 9:33

>>16
dubu dubu dubu dubu

Name: Anonymous 2015-08-24 3:51

Rob Pike solved the condom problem for homosexual men with a single condom. He now has an infinite number of sexually transmitted diseases.

Name: Anonymous 2015-08-25 12:15

Prove or disprove.

One can acquire an infinite number of sexually transmitted diseases in a finite amount of time.

Name: Anonymous 2015-08-25 12:30

/prog/ homeworkd 5025: The Infection Problem

A well known puzzle among combinatorialists is the following: m men
and n women, each with a different sexually transmitted disease, want
to exchange all of their diseases using the minimal amount of sexual
encounters. At the end of the process, all participants will each be infected
will all of their collective infections. You can assume the probability of infection
from unprotected sex is 100% and all sex is unprotected.

/prog/ homeworkd 5026: The Infection Problem [Part 2]
Generalize The Infection Problem to the case where there are ms straight men, mb bisexual men, mg gay men, fs straight women, fb bisexual women, and fg lesbians.

Name: Anonymous 2015-08-25 18:23

>>19
An infinite number of STDs does not exist.

Name: Anonymous 2015-08-25 18:25

>>21
le autism face

Name: Anonymous 2015-08-25 19:13

>>22
Translation please, I don't speak French.

Name: Anonymous 2015-08-25 23:06

>>23
Ey said, ``Dubs, check em'.'

Name: Anonymous 2015-09-30 10:25

/prog/ homework 5025:

1. Two Chads, Chad_0 and Chad_1, are hanging out in a universe with an infinite number of women of cardinality aleph_0. Chad_0 brags that there is a bijection between the set of women he has slept with and the natural numbers, while Chad_1 claims that his set has a bijection with the real numbers. Chad_0 is not impressed, however, and claims that they're about even. Prove Chad_0 wrong using Cantor diagonalization.

2. An infinite number of Chads, of cardinality aleph_n, live in a universe with an infinite number of women, also of cardinality aleph_n. Each Chad wants to fuck an infinite number of women, of cardinality aleph_n, each without getting sloppy seconds. Prove to them that for that to happen they will need an infinite number of women of at least cardinality aleph_n+1.

3. Prove that Chad's "game" is in Nash-equilibrium with the set of betas and the set of women as players.

Name: Anonymous 2015-09-30 11:48

Both sides of the condom get infected upon sexual intercourse so they would need n*m condoms for n*m sexual encounters

Name: Anonymous 2015-09-30 16:51

The solution is undefined unless m = n = 1, in which case no condom should be used at all. Any other proposed solution is an abhorrent in the eyes of The Lord.

Name: Anonymous 2015-09-30 18:26

I hope you brought a mutex, boy, or you'll have an infected mess on your hands.

Name: Anonymous 2015-10-01 21:18

Race-condition my anus.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List