Solving Subset Sum Counting: How to Make £2 from Coins

  • Thread starter Thread starter martix
  • Start date Start date
  • Tags Tags
    Counting Sum
Click For Summary
SUMMARY

The forum discussion centers around solving the Subset Sum Counting problem, specifically determining the number of ways to make £2 using coins of denominations 200, 100, 50, 20, 10, 5, 2, and 1. The user expresses difficulty in finding a viable solution, contemplating both a recursive approach and the potential use of generating functions. The consensus suggests that generating functions may provide a more efficient method for solving this problem compared to brute-force recursion.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with recursive algorithms
  • Knowledge of generating functions
  • Basic proficiency in programming for implementation
NEXT STEPS
  • Research generating functions and their applications in combinatorial problems
  • Explore dynamic programming techniques for solving the Subset Sum problem
  • Learn about memoization to optimize recursive solutions
  • Study examples of coin change problems in algorithm textbooks
USEFUL FOR

Students studying combinatorial mathematics, algorithm enthusiasts, and anyone looking to enhance their problem-solving skills in computational mathematics.

martix
Messages
167
Reaction score
5

Homework Statement


How many different ways can £2 be made using any number of coins?
(In other words, how many ways can you obtain the sum of 200 with terms from the following finite set - 200, 100, 50, 20, 10, 5, 2, 1. Order does not matter.)

Homework Equations


None?


The Attempt at a Solution


No idea.
I've been mulling over this problem for way too much time now without producing anything viable.
A PnP solution is beyond me at this point. On the computational side I've been thinking of a recursive solution which should spawn this massive recursion tree and I'm pretty sure there's got to be a better method out there.
 
Physics news on Phys.org
Do you know generating functions??
 
Nope...
First time I've heard of those. I can always read up on them if they are relevant to the solution.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
10
Views
3K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K