My Math Forum  

Go Back   My Math Forum > College Math Forum > Number Theory

Number Theory Number Theory Math Forum

Thanks Tree1Thanks
  • 1 Post By skipjack
LinkBack Thread Tools Display Modes
July 24th, 2017, 08:42 AM   #1
Joined: Jul 2017
From: Seattle

Posts: 2
Thanks: 0

Combinations with Variable r

Boy there are lots of different questions about combinations on this site, but none seem to match mine.

How do I figure number of combinations of n items - no repeats - but there is no limit on r, and order doesn't matter?

In other words, think of a pizza menu.

If there are two potential toppings, there are three options:
  1. Pepperoni (a)
  2. Sausage (b)
  3. Pepperoni and Sausage (ab)

If there are three toppings, I get seven options (I think)
  1. Pepperoni (a)
  2. Sausage (b)
  3. Mushrooms (c)
  4. Pep and Sausage (ab)
  5. Pep and Shrooms (ac)
  6. Sausage and Shrooms (bc)
  7. The Works (abc)

Four toppings = 15 options (I think)
  • a, b, c, d
  • ab, ac, ad, bc, bd, cd
  • abc, abd, acd, bcd
  • abcd

Five toppings = 30 options (I think...)
  • a, b, c, d, e
  • ab, ac, ad, ae, bc, bd, be, cd, ce, de
  • abc, abd, abe, acd, ace, ade, bcd, bce, bde, cde
  • abcd, abce, abde, bcde
  • abcde

I can't find a pattern!
15 = 4!-(3^2) (i.e., n!-((n-1)^2)))
30 = 5!/(n-1)


How am I not looking at this right?
Alonzo Mosley is offline  
July 24th, 2017, 09:10 AM   #2
Global Moderator
Joined: Dec 2006

Posts: 20,370
Thanks: 2007

You missed acde. If you include "no toppings", the results become 4, 8, 16, 32, etc.
Thanks from Alonzo Mosley
skipjack is offline  
July 24th, 2017, 09:19 AM   #3
Joined: Jul 2017
From: Seattle

Posts: 2
Thanks: 0

Arghhh!!! I DID!!! ARGGGHH!!..



Argh. Yes. Thanks. Wow, that hurt.
Alonzo Mosley is offline  

  My Math Forum > College Math Forum > Number Theory

combinations, variable

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Omitted variable vs control variable questioner1 Economics 0 October 21st, 2014 12:52 AM
Number of Combinations of Variable Percent Items Damios Algebra 4 March 24th, 2014 10:11 AM
Isolate variable with variable exponent claudiomalk Algebra 2 November 9th, 2012 08:52 PM
Complex Combinations Within Combinations Problem? bugrocket Advanced Statistics 2 January 23rd, 2011 04:02 PM
Combinations within combinations possibilities? aimpro2000 Advanced Statistics 2 September 20th, 2010 02:12 PM

Copyright © 2019 My Math Forum. All rights reserved.