Have some weekend fun figuring out when you share a day in life allowing a factorization that has an equal number of prime factors as other people around you. Take on the challenge to find the asymptotic probability that a day with common given prime factor count will appear in the future given the differences between birthdays and the calendar date you are interested in. Best regards, Fabian
-- you have earned Featured Contributor Badge Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!
Easier to read.
$\large\int_2^{\sqrt[3]{M}} -\frac{\log \left(\frac{\log (p)}{\log \left(\frac{M}{p^2}\right)}\right)}{p \log (p) \log \left(\frac{M}{p}\right)} \, dp$
Thanks Rohit, always interesting to learn how to write better WL code, both Subsets and Sequence were new for me!
Hi Fabian,
Cool idea! I have been trying it out on extended family members birthdates.
A more functional way to generate addDays.
addDays
addDays = Subsets[bDates, {2}] // Map[-DateDifference[Sequence @@ ##] & /* QuantityMagnitude]