Skip to content

Instantly share code, notes, and snippets.

@ABcDexter
Created February 23, 2016 10:44
Show Gist options
  • Save ABcDexter/f37c1447a03a71037c7a to your computer and use it in GitHub Desktop.
Save ABcDexter/f37c1447a03a71037c7a to your computer and use it in GitHub Desktop.
#AnubhavBalodhi, Puzzling.SE, 7804, 23216, 314...
N=int(input())
for num in range(N):
for X in range(2,N-8):
if (8*((num*(num+1)-8*(X+3))))==(825*(num-4)):
print(X,num)
#BeDaBe(a)st
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment