Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Number Theory utility functions
Contributed by: Anton Antonov
Utility functions for visualizing Number theory relationships and phenomena.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["AntonAntonov/NumberTheoryUtilities"]
To load the code after installation, evaluate this code:
Needs["AntonAntonov`NumberTheoryUtilities`"]
Make a Ulam's spiral embedding within a square with 11 rows and columns:
In[1]:= | ![]() |
Out[1]= | ![]() |
Make a triangular embedding of integers up to 10 triangle rows:
In[2]:= | ![]() |
Out[2]= | ![]() |
Sunflower embedding of integers up to 2000 with primes shown in red:
In[3]:= | ![]() |
Out[3]= | ![]() |
Show Klauber's triangle:
In[4]:= | ![]() |
Out[4]= | ![]() |
Show Ulam's spiral (finishing top-right):
In[5]:= | ![]() |
Out[6]= | ![]() |
Show primitive root chord trails plot of 509 for its primitive root 75:
In[7]:= | ![]() |
Out[7]= | ![]() |
Wolfram Language Version 14.3