4 ms·
Searching for prime numbers is a really good CS problem actually, and one algorithm that is very easily coded by a 1st semester student is the Sieve of Eratosth
by cbanek 6y ago
Searching for prime numbers is a really good CS problem actually, and one algorithm that is very easily coded by a 1st semester student is the Sieve of Eratosthenes:
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
Some other ideas of math + cs are things like visualizations, maybe doing visualizations of equations like fractals could be interesting.
I'm also reminded of a recent HN submission (though can't find it off hand) that the part of the brain that reads code isn't actually the same as the one that parses language! I just found that interesting.
Good luck and Merry Christmas!