From eeff1f3c61fad805bb5ce0170e98378c3b706c18 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Mon, 9 Oct 2023 13:35:04 -0500 Subject: 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). --- radix_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radix_info.go') 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 . - */ +*/ package main -- cgit v1.2.3