From a663fa77cde6ad48f29abd6973211c179ff32464 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Mon, 4 Sep 2023 18:51:26 -0500 Subject: Increase detail of digit map neighbours It now distinguishes between omega (factors of r - 1), alpha (factors of r + 1) and the rest. The previous categorization determined whether or not totatives and semitotatives have simple patterns; this new categorization determines which simple patterns they follow) --- print_digit_map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print_digit_map.go') diff --git a/print_digit_map.go b/print_digit_map.go index b878a51..1f5ad64 100644 --- a/print_digit_map.go +++ b/print_digit_map.go @@ -66,7 +66,7 @@ func colourString(s string, digitType factors.DigitType) string { default: colourBegin = "\x1B[48;5;2m" // other regulars } - case factors.Neighbour: + case factors.Omega, factors.Alpha, factors.Pseudoneighbour: if digitType.Regularity() == 0 { colourBegin = "\x1B[48;5;198m" // neighbourly totatives } else { -- cgit v1.2.3