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 45b7461 commit 48cd502Copy full SHA for 48cd502
maths/special_numbers/proth_number.py
@@ -64,9 +64,9 @@ def isprothnumber(number: int) -> bool:
64
:param number: nth number to calculate in the sequence
65
:return: true if number is a Proth number, false etherwise
66
>>> isprothnumber(5)
67
- true
+ True
68
>>> isprothnumber(34)
69
- false
+ False
70
>>> isprothnumber(-1)
71
Traceback (most recent call last):
72
...
0 commit comments