2,594 karma · joined Aug 15, 2013 (13y ago) · 878 submissions
comment 3y ago · link · parent
It basically uses the priority queue to store all the composites up to a certain point and then you can assume the next one is prime.
I had some (admittedly not well written) code for it too https://gist.github.com/weskerfoot/4699275
It can also incorporates the wheel factorization optimization mentioned in this article.
comment 3y ago · link · parent
Lots of people get started with things like using a microcontroller to light up some LEDs and so on. That will introduce you to basic concepts like how transistors work as well if you dig into it.
https://www.youtube.com/watch?v=xSRe_4TQbuo&list=PLvOlSehNtu...
comment 4y ago · link · parent
comment 5y ago · link · parent
I also found this https://disconnected.systems/blog/nim-on-adruino
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
https://www.springer.com/gp/book/9783030407452
I've been reading it, and I would highly recommend it to anyone who wants to learn more.
comment 5y ago · link · parent
FWIW, for philosophy of mathematics, I'd recommend reading "Introduction To Mathematical Philosophy" by Bertrand Russell. The recommendation of The Frege Reader is actually good, but I'd recommend watching some lectures or something as well, otherwise it'll be a difficult read.
comment 5y ago · link · parent