Skip to content

Instantly share code, notes, and snippets.

@igorvanloo
Created July 21, 2021 06:28
Show Gist options
  • Select an option

  • Save igorvanloo/7c354e29e09333e17b6fd7c2428ceca1 to your computer and use it in GitHub Desktop.

Select an option

Save igorvanloo/7c354e29e09333e17b6fd7c2428ceca1 to your computer and use it in GitHub Desktop.
Problem 206
def compute():
start = 101010100
end = 1389026620
while start < end:
if str((start+30)**2)[::2] == "1234567890":
start += 30
break
if str((start+70)**2)[::2] == "1234567890":
start += 70
break
start += 100
return start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment