4 ms·
that's right... even prime isn't enough
by eecc 9y ago
that's right... even prime isn't enough
- shagie 9y agoPrime is ok if it’s multiplied (there is one and only one prime factorization of a number).... but that can get to absurdly large numbers. Still, consider the word ‘abe’ with a = 2, b = 3, c = 5, d = 7 and e = 11. abe would then be 2^1 * 3^1 * 5^0 * 7^0 * 11^1. ‘abba’ would be 2^2 * 3^2. Each anagram would have a distinct value. See also Gödel numbering and FRACTRAN.
- eecc 9y agoThat’s right... stupid me, it’s the base of public key cryptography (doh)