-
-
Save jhalderm/d813e5ef35ef0aa45e114cc4e40f9e0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generate_sequence(p): | |
return [sum([5,0,8,3,2,6,1,9,4,7][864803*n//10**p[i]%10]*10**i for i in range(6)) | |
for n in range(1000000)] | |
icp_sequence = generate_sequence([2,3,1,5,0,4]) | |
ice_sequence = generate_sequence([1,5,0,4,2,3]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment