Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def delit(n):
- ans = []
- d = 1
- while d * d <= n:
- if n % d == 0:
- if d % 2 == 1:
- ans.append(d)
- d_b = n // d
- if d != d_b and d_b % 2 == 1:
- ans.append(d_b)
- d += 1
- ans.sort()
- return ans
- from fnmatch import *
- for x in range(699998, 10**10, 13):
- if not fnmatch(str(x), '*0??3*') and not fnmatch(str(x), '*4??2') and not fnmatch(str(x), '*1*'):
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment