I've been really trying to prove Ramanujan Partition theory, and different sources give me different explanations. Can someone please explain how Ramanujan (and Euler) found out the following equation for the number of partitions for a given integer? Any help is appreciated thank you so much!
$$P(n)\sim\frac1{4n\sqrt3}\exp(\pi\sqrt{2n/3})$$