We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a86be1 commit 45b7461Copy full SHA for 45b7461
maths/special_numbers/proth_number.py
@@ -84,7 +84,7 @@ def isprothnumber(number: int) -> bool:
84
num -= 1
85
n = 0
86
while num % 2 == 0:
87
- num = num / 2
+ num = num // 2
88
n += 1
89
return num < (2**n)
90
0 commit comments