I am interested in exploring how p5 can be used in math courses k-12. I recently was in a HS math course discussing this problem:
Which natural number from 1…N has the most factors. We started by creating a simple n^2 approach to the solution and realized its limitations. The next day I showed them the n log n approach animated in the sketch below. They were excited. As N grows in size you need different approaches. One of the students is trying to code a greedy solution of prime factorizations. I think this could lead to finding solutions with N as high as n^100. I am posting this link to start a conversation about what people have found to work in using computing to engage mathematical thinking. Also I would love to collaborate with people who want to work on figuring out where p5 fits into mathematics education.