Mathematics (Math) is the study of physical properties and measurable change, logic is a philosophy that uses mathematics-based reasoning. Logic can also apply non-mathematics-based reasoning (see section on logic in philosophy for all non-mathematics based logic).
Past results of random independent events, like a coin flip, don’t affect future results. The mistaken belief that past results affect future results is known as “the Gambler’s Fallacy” (AKA the Fallacy of the Maturity of Chances, or the Monte Carlo Fallacy).
Most people have about 6 degrees of separation (small world theory), but not everyone has 6 degrees of separation from Kevin Bacon or any other given person.