There's too much here to give a full answer, but perhaps this will help you on your way towards understanding generating functions.
- n is the argument of this function, the number for which we are counting the partitions. What is x here? Where does it come from? Same for k? What is the significance of k? Why does it go from 1 to infinity?
$x$ is a dummy variable. It comes from our desire to encode a sequence of values $p(0),\, p(1),\, p(2),\, \ldots$ as a function. This is at the heart of what a generating function is: an artificial construct which turns out to be useful.
As for $k$... Although we're talking here about a generating function with an infinite number of terms, it may help your intuition (and it certainly helps in explicit calculation of terms) to think of it as a polynomial. Now, since a term $ax^i$ means that the $i$th value in the sequence is $a$, multiplication is a form of combining sequences where we take smaller structures and use them to build larger structures. This is particularly relevant with partitions. Suppose we have two generating functions $g(x)$ and $h(x)$ which give certain restricted partition functions: e.g. $g(x)$ gives the number of ways to partition a number $n$ into parts $1, 2, 5, 11$, and $h(x)$ gives the number of ways to partition a number $n$ into parts $7, 14$. If we multiply them to give $g(x)h(x)$, that tells us the number of ways to partition $n$ into parts $1,2,5,7,11,14$. Note: this depends on the two sets of permitted parts being disjoint. To be more precise, if
- $g(x)$ is the generating function for objects having property $P$
- $h(x)$ is the generating function for objects having property $Q$
- The objects of size $n$ having property $R$ are in bijection with pairs $(p, q)$ where $p$ is an object having property $P$, $q$ is an object having property $Q$, and the sum of the sizes of $p$ and $q$ is $n$
then the generating function for objects having property $R$ is given by $g(x)h(x)$.
Now, $\frac{1}{1-x^k}$ is $1 + x^k + x^{2k} + x^{3k} + \ldots$ by the standard analysis of a geometric progression. And that is precisely the generating function for partitioning a number $n$ into parts $k$: it's only possible if $n$ is a multiple of $k$, and in that case there's one way to do it. So if we multiply those g.f.s together for all positive integer $k$, we get the number of ways to partition $n$ into positive integers.
- On the right we see that we get the product of the expression for every value of k from = 1 to infinity. How does this make sense? If we go from 1 to infinity, isn't the resulting value necessarily infinite?
What resulting value? Bear in mind that we're not dealing with numbers here, but functions, and even if we take only one term it is already infinite.
If we consider instead $$\prod_{k=1}^{m} \frac{1}{1-x^k}$$ then we get the generating function for $n$ into parts of at most $m$, as explained in the previous section.
- It is known that actually getting a series of numbers from a generating function can be non-trivial. Is it even possible to solve for p(n) using this equation? Or does it simply explain the pattern with no means of getting the numbers?
- How can this be implemented in a computer language, one that is general, and not math-based, for example in Python, or in JavaScript? Is it possible? Can you provide an implementation of this generating function in computer code? (See PS)
It's possible, yes. Consider two things: if we're solving for $p(n)$ then we don't care about parts larger than $n$, and we don't care about the coefficients of $x^i$ for $i > n$. So all we need is a simple polynomial multiplication (i.e. convolution) routine and something like (pseudocode):
product = array(n+1)
product[0] = 1
for k = 1 to n:
term = array(n+1)
for i = 0 to n step k:
term[i] = 1
product = multiply(product, term).slice(0, n+1)
- What is p(1000)? How do you know?
There are all kinds of other ways to calculate partition numbers. You can see implementations of a few on our sister site PPCG.
- Generally, in solving generating functions, using a "Taylor series" is proposed as a possible solution. How would you explain this to someone who does not know what a Taylor series is? Is this problem even solvable without a deep knowledge of that subject?
I don't know what you mean by "solving" generating functions, but there's absolutely no need to bring up the subject of Taylor series if you don't want to.
- Is it correct to call this an "equation"? Or is a generating function fundamentally a different thing?
Technically, yes, I think it's correct, but I would instead call this an identity because it doesn't have any unbound variables (I consider $x$ to be contextually bound) and states that the two expressions are identically equal, not equal under certain values of the parameters.