• API
• FAQ
• Tools
• Archive
SHARE
TWEET # Untitled a guest Oct 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. t = 1089994752
2. a = []
3. b2 = []
4. b3 = []
5. for i in range(1,round(t ** (1/2))):
6.     if t % i == 0:
7.         a.append(i)
8. print(a)
9.
10. for x in a:
11.     if (x**0.5).is_integer():
12.         b2.append(x)
13.     if (x**(1/3)).is_integer():
14.         b3.append(x)
15. print(b2)
16. print(b3)
17. for x in a:
18.     for y in  b2:
19.         for z in b3:
20.             if x*y*z==t:
21.                 print(x*x+y+z**(2/3))
22.
23. b = 69172244
24. d = 218575876
25. l = [b, d]
26. count = 0
27. for x in l:
28.     while (1):
29.         if x % 2 == 0:
30.             x //= 2
31.             count += 1
32.         else:
33.             break
34.     print(count)
35.     count = 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top