Conversation
Notices
-
⚡Eineygður ☯ Flakkari⚡ (toiletpaper@shitposter.world)'s status on Friday, 20-Dec-2024 13:15:48 JST ⚡Eineygður ☯ Flakkari⚡ @shibao @sun
Oh. You don't have to do the whole algorithm for me. If you've already rewritten the coef() function recursively, that will hopefully clue me into a better way to approach it.
The JavaScript I included was a chunk of a reference implementation of AKS that I was using to compare and validate the results of my own. Here's the full AKS in a handful of languages, though not Elixir.
https://www.geeksforgeeks.org/aks-primality-test/