Took a while to let it run, here you got the results for 100k blocks:
0: 986,
1: 957,
2: 895,
3: 912,
4: 935,
5: 1004,
6: 981,
7: 946,
8: 912,
9: 923,
10: 993,
11: 999,
12: 905,
13: 988,
14: 969,
15: 929,
16: 937,
17: 961,
18: 949,
19: 953,
20: 963,
21: 971,
22: 973,
23: 903,
24: 975,
25: 951,
26: 927,
27: 977,
28: 944,
29: 906,
30: 925,
31: 952,
32: 928,
33: 907,
34: 907,
35: 947,
36: 878,
37: 959,
38: 935,
39: 958,
40: 927,
41: 925,
42: 970,
43: 976,
44: 983,
45: 961,
46: 981,
47: 958,
48: 924,
49: 954,
50: 958,
51: 965,
52: 955,
53: 959,
54: 970,
55: 943,
56: 970,
57: 925,
58: 1006,
59: 912,
60: 1024,
61: 936,
62: 928,
63: 931,
64: 907,
65: 1006,
66: 911,
67: 950,
68: 1010,
69: 981,
70: 963,
71: 933,
72: 889,
73: 927,
74: 990,
75: 926,
76: 958,
77: 1025,
78: 943,
79: 969,
80: 1003,
81: 963,
82: 996,
83: 952,
84: 941,
85: 953,
86: 994,
87: 974,
88: 981,
89: 975,
90: 952,
91: 1000,
92: 1000,
93: 970,
94: 959,
95: 916,
96: 959,
97: 948,
98: 933,
99: 980
from piston.block import Block
from pprint import pprint
results = {}
block = 10000000
while block > 9900000:
if block%100 == 0:
print(block)
res = Block(block)
result = int(res['previous'][-5:],16)
if result <= 999999:
result = result%(10000)/100
result = int(result)
if result in results:
results[result] += 1
else:
results[result] = 1
block -= 1
pprint(results)
RE: An Actuary decides to assign a cryptography/cryptocurrency based project to interns