summaryrefslogtreecommitdiff
path: root/factors/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'factors/type.go')
-rw-r--r--factors/type.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/factors/type.go b/factors/type.go
index 39aab9b..4b58a1d 100644
--- a/factors/type.go
+++ b/factors/type.go
@@ -20,19 +20,19 @@ const (
// if you adjust for size by dividing by some power of the number
// (different powers yield different best numbers).
// All colossally abundant numbers are also superabundant.
- ColossallyAbundant NumberType = 0x84
+ ColossallyAbundant NumberType = 0xC0
// A number whose factor score is higher than any smaller number.
// All superabundant numbers have ordered exponents.
- Superabundant NumberType = 0x83
+ Superabundant NumberType = 0xA0
// A number whose prime factorization exponents stay the same or decrease
// as you go from smaller to larger primes.
// All of these numbers are also practical.
- OrderedExponent NumberType = 0x82
+ OrderedExponent NumberType = 0x80
// A number whose factors can sum to any smaller number without duplication.
// All practical numbers besides 1 and 2 are divisible by 4 or 6.
- Practical NumberType = 0x81
+ Practical NumberType = 0x60
// None of the above types
- NotPractical NumberType = 0x80
+ NotPractical NumberType = 0x40
)
func Type(n uint32) NumberType {