Skip to content

Instantly share code, notes, and snippets.

@jhalderm
Created October 4, 2022 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhalderm/d813e5ef35ef0aa45e114cc4e40f9e0b to your computer and use it in GitHub Desktop.
Save jhalderm/d813e5ef35ef0aa45e114cc4e40f9e0b to your computer and use it in GitHub Desktop.
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