Skip to content

Commit 3e79e6d

Browse files
committed
test: add tests for lassallenum
1 parent f434e08 commit 3e79e6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/numbers.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@
4848
@test_throws DomainError narayana(-1, -1)
4949

5050
# lassalle
51+
# https://oeis.org/A180874
52+
@test lassallenum.(1:10) == [1,1,5,56,1092,32670,1387815,79389310,5882844968,548129834616]
5153
@test lassallenum(14) == parse(BigInt, "270316008395632253340")
54+
@test lassallenum(17) == parse(BigInt, "4359147487054262623576455600")
5255

5356
# legendresymbol
5457
@test legendresymbol(1001, 9907) == jacobisymbol(1001, 9907) == -1

0 commit comments

Comments
 (0)