|
|

# What Do These Digits Mean?

## What Do These Digits Mean?

Posted May 19, 2011 12:35 UTC (Thu) by ldo (guest, #40946)
In reply to: josh's clients aren't stupid, they're smart by cmccabe
Parent article: Scale Fail (part 1)

```#!/usr/bin/python

import sys

modulo = 13
s = 13682311570832829480888979137834570837851469148689544502986
num = iter(range(2, 9999))
while s != 1 :
n = num.next()
if s % n == 0 :
sys.stdout.write("%s" % charset[(n - 1) % modulo])
s /= n
#end if
#end while
sys.stdout.write("\n")
```

What Do These Digits Mean?

Posted May 26, 2011 12:20 UTC (Thu) by net_benji (subscriber, #75195) [Link]

All 23 prime factors of s are of order 1, I think that's the gist of it.
http://www.wolframalpha.com/input/?i=factor+1368231157083...

Here are more working combinations:
s = 7062883793966047784250125868403644804557392731274644684033611
charset = "tslofWe dnha"
s = 1029201132023087388381452825147240668180384494509643451351
...
and here's a different one, just for the fun of it:
charset = "wfyonirvmD s?ecutdpah"
modulo = 23
s = 79 * 211 * 241 * 463 * 487 * 499 * 563 * 571 * 673 * 787 * 911 * 977 * 991 * 1039 * 1249 * 1483 * 1489 * 1493 * 1601 * 1621 * 1697 * 1699 * 1889 * 2243 * 2311 * 2347 * 2459 * 2521 * 2719 * 2909 * 2953 * 3119 * 3271 * 3323 * 3359 * 3533 * 3733 * 3947 * 3967 * 4057 * 4177 * 4283 * 4289 * 4597 * 4651 * 4733 * 4933 * 4969 * 5021 * 5087 * 5261 * 5281 * 5347 * 5399 * 5449 * 5557 * 5641 * 5711 * 5807 * 5869 * 5981 * 6353 * 6359 * 6389 * 6569 * 6701 * 6791 * 6823 * 6983 * 7187 * 7309 * 7321 * 7481 * 7529 * 7673 * 7873 * 7901 * 8017

The source for the generator is there: https://github.com/benthaman/lwn-digits/blob/master/encod...

Hope Jon won't mind posting this nonsense here ;)