Math experiment with my friend David