Pigeonhole principle and counting

  • Thread starter Thread starter TalonStriker
  • Start date Start date
  • Tags Tags
    Counting Principle
AI Thread Summary
The discussion focuses on two homework problems related to the pigeonhole principle and countability. The first problem requires finding the smallest value of Y such that 100 different 5-element subsets of {1, ..., Y} have the same sum, prompting users to apply the pigeonhole principle. The second problem involves demonstrating that the set of all functions from natural numbers to natural numbers (FUNC) is not countable, despite the countability of the natural numbers themselves. Participants clarify that while natural numbers are countable, the infinite number of functions mapping N to N cannot be enumerated in a similar manner. The conversation emphasizes the distinction between the countability of sets and the functions defined on those sets.
TalonStriker
Messages
14
Reaction score
0

Homework Statement


1) 100 of the 5-element subsets of {1, . . . , Y } have the same SUM. (Fill in Y . Make Y as small as you can, however you need NOT prove that it is smallest possible. You might
need a calculator.)

2) Let FUNC be the set of all FUNCTIONS from N to N. Show that FUNC is NOT countable.

Homework Equations


Pigeonhole principle.


The Attempt at a Solution


1) The only thing I know is that I need to apply pigeonhole principle... Can someone give me a nudge?
2) Definitely confused here. Since the integers are countable, the naturals must be countable too right? THen how the heck are I supposed to show that FUNC isn't countable when it is?
 
Physics news on Phys.org
a) Can you venture a guess as to what the pigeons and holes are?b)
Natural numbers are countable, but that does not mean that all functions on N are countable. There are definitely an infinite number of functions mapping N to N, and there is no way to write them such that they could be counted.

The set of all rational numbers is countable, even though there is an infinite gap between any two rational numbers. If the all the rational numbers were written in an \infty X \infty array, they could be counted by the diagonals. No such rule exists for functions over N.
 
Back
Top