[sl4] Re: MATH MAGIC

From: Eric Burton (brilanon@gmail.com)
Date: Mon Mar 12 2012 - 17:54:35 MDT

I don't know

I tried a hundred powers of 71 on a whim because I found fewer 7's in
the multiples of digits of pairs of digits of pi than other numbers
(makes sense, 7 is prime, other primes were underrepresented too,
predictably), anyway, it went,

1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1
8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1
8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8
1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8 1 8
1 8 1 8 1 8

Digit frequency:
0: 0
1: 50
2: 0
3: 0
4: 0
5: 0
6: 0
7: 0
8: 50
9: 0

Wow. So I tried powers of 70, should be the same as powers of 7

1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7
4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7
4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1
7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1 7 4 1
7 4 1 7 4 1
Digit frequency:
0: 0
1: 34
2: 0
3: 0
4: 33
5: 0
6: 0
7: 33
8: 0
9: 0

Then powers of 72

1 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9
Digit frequency:
0: 0
1: 1
2: 0
3: 0
4: 0
5: 0
6: 0
7: 0
8: 0
9: 99

Which... 72 does add up to 9... so... ahh...

Anyway, if you do this on powers of 2 it starts printing 4 8 7 5 1 2
over and over again where 512 is another power of 2 and 487 is the
name of a math coprocessor

So try it on powers of other things you guys

Try it on any series of numbers

Use "reiterhi" or "reiterlo" to get down to single-digit results. If
you set justSum to 1 in the first def line, it's much faster, but only
highest/reiterhi does anything. lowest/reiterlo will get the same
results as those with justSum=1. Anyway. Just a tip

peace
flam

This archive was generated by hypermail 2.1.5 : Wed Jun 19 2013 - 04:01:45 MDT