Farz0l1x

Untitled

Feb 27th, 2024
1,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. from fnmatch import fnmatch
  2. for x in range(2024, 2*10**9, 2024):
  3.     xsqrt = int(x**0.5)
  4.     if xsqrt**2 == x and fnmatch(str(x), '1?2*4'):
  5.         print(x, x // 2024)
Advertisement
Add Comment
Please, Sign In to add comment