-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement A065722 Paterson Primes (#391)
- Loading branch information
1 parent
caff2d3
commit a9364c9
Showing
2 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
from oeis import A065722 | ||
|
||
|
||
def test_A065722(): | ||
from_oeis_org = [ | ||
2, | ||
3, | ||
5, | ||
7, | ||
11, | ||
13, | ||
17, | ||
19, | ||
23, | ||
29, | ||
37, | ||
43, | ||
47, | ||
53, | ||
61, | ||
71, | ||
73, | ||
79, | ||
83, | ||
97, | ||
103, | ||
107, | ||
109, | ||
113, | ||
131, | ||
149, | ||
151, | ||
157, | ||
163, | ||
167, | ||
181, | ||
191, | ||
193, | ||
197, | ||
227, | ||
233, | ||
241, | ||
251, | ||
277, | ||
293, | ||
307, | ||
311, | ||
313, | ||
317, | ||
349, | ||
359, | ||
373, | ||
389, | ||
401, | ||
419, | ||
421, | ||
433, | ||
443, | ||
449, | ||
463, | ||
467, | ||
503, | ||
] | ||
|
||
assert A065722[: len(from_oeis_org)] == from_oeis_org |