diff options
| author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-10-09 13:35:04 -0500 |
|---|---|---|
| committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-10-09 13:35:04 -0500 |
| commit | eeff1f3c61fad805bb5ce0170e98378c3b706c18 (patch) | |
| tree | 0cffbefc58b6c9196d779abb249c3c82bce4ffc4 /radix_info.go | |
| parent | 194004a9f99096ab724758ba39f39c50c71a21ed (diff) | |
Add more tests & fix found bugs
- TotativeDigits was defined incorrectly, previously counted totatives
from 0 to r-1, now counts digits from 1 to r. This ensures that
len(TotativeDigits(r)) = Totient(r).
Diffstat (limited to 'radix_info.go')
| -rw-r--r-- | radix_info.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radix_info.go b/radix_info.go index 866a8f5..c786fb8 100644 --- a/radix_info.go +++ b/radix_info.go @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +*/ package main |
