Another fun thing: Euler's formula
šĀ² + š + 41
which gives primes from š=1 to š = 39 is actually related to the fact that 41Ć4-1 = 163 is a Heegner number. And this fact has (less impressive) relatives for the smaller Heegner numbers!