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 bd59a27 commit 319b501Copy full SHA for 319b501
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
- N = N/2
+ num = num/2
88
n += 1
89
return num < (2**n)
90
0 commit comments