Skip to content

Instantly share code, notes, and snippets.

@Kwpolska
Created January 6, 2016 11:29
Show Gist options
  • Save Kwpolska/940132112a369c9cd0c7 to your computer and use it in GitHub Desktop.
Save Kwpolska/940132112a369c9cd0c7 to your computer and use it in GitHub Desktop.
Maximum possible Tweets
m = 120737 # source: Wikipedia
TOTAL = 0
for i in range(1, 141): # contains all integers 1 ≤ n < 141 (includes leftmost number, excludes rightmost number)
TOTAL += m ** i
Number of possible Tweets:
2868513354526138351407402564945861731731005186915717589769254397463276683163203298522386175435067066958792271327488714432896971981518848067815802826764578314176430719164231725446781228542281846835921140900372515606054742528858870652271191584206494744035508367793906549616020382152196971997218356669597217304785341643872919850147115150287191515516258324927271095740742828344182312891311419924845191353438901845576928588390406061209794329185459076476633533391875230899849872522641042982005901047456653310879377771596590664307804353344139947817581001647557030360134924469462262860594238258098296605294032355050337489605964714267595439011340999725517693896868930623459726044836784152715489100756831103245348481274700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment