Jump to content




Lua Totient Implementation


  • You cannot reply to this topic
2 replies to this topic

#1 Lego Stax

  • Members
  • 136 posts
  • LocationThe dark depths of the web

Posted 03 October 2014 - 04:27 AM

I have already scoured the internet and this forum for the mathematical Totient function. How would I implement this into Lua? I apologize in advance for my failure to understand a computing implementation of the totient, as I am just learning it. Thank you to all who help. :)

#2 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 03 October 2014 - 04:44 AM

A quick Google lead me to this repository that contains a Lua implementation for the Totient function.

#3 Lego Stax

  • Members
  • 136 posts
  • LocationThe dark depths of the web

Posted 04 October 2014 - 05:15 PM

View Posttheoriginalbit, on 03 October 2014 - 04:44 AM, said:

A quick Google lead me to this repository that contains a Lua implementation for the Totient function.

Thank you so much! I didn't see that when I searched for it. In fact, I only got 1 result out of the entire internet. (perhaps Google ads?) And it wasn't that. Thanks again!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users