view the rest of the comments
Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics. If you need to do this, try !politicaldiscussion
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
Steve Martin agrees!
(Although 8 and 12 aren’t coprime, and he tears open three bags of buns, meaning if he had just bought three packs of hot dogs and two bags of buns he’d be fine.)
“Coprime” is the operative qualifier of the original comment. You can’t do what Steve Martin did with coprime amounts of buns and dogs because they can never evenly go into one another. You’ll always have leftovers.
I did say that 8 and 12 weren’t coprime.
That isn’t true. You can do EXACTLY what he did. If he had packs of 8 hot dogs and 9 buns, removing one bun from each pack would have the same effect. And 8 and 9 are coprime.
And you can also do what I said he could’ve done, that is, get an even number of hot dogs and buns by purchasing different amounts of packages. If someone purchased 9 packs of 8 hot dogs and 8 packs of 9 buns, they would even out.
You can ensure any two coprime integers go into another number evenly by simply making them factors of the other number (in this case, 72).
Edit: fixed a typo
Unless you get the (superior) Hebrew National dogs that come in packs of 7.
In which case, to get an even number of buns, he’d have to buy 12 packs of 7 hot dogs and 7 packs of 12 buns, for a total of 84 hot dogs and buns. (Or remove 5 buns from each 12 bun bag.)
Edit: Which means Joey Chestnut could eat his new record of 83 of those dogs in ten minutes and have another left over for Steve Martin!