Skip to content

Commit ec33c79

Browse files
committed
divrem
1 parent 35436b5 commit ec33c79

6 files changed

Lines changed: 75 additions & 75 deletions

File tree

docs/src/index.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,51 @@ divisors
610610
fromΔ
611611
```
612612
```@docs
613+
is000045
614+
```
615+
```@docs
616+
is005101
617+
```
618+
```@docs
619+
is083207
620+
```
621+
```@docs
622+
is206864
623+
```
624+
```@docs
625+
is206942
626+
```
627+
```@docs
628+
is293654
629+
```
630+
```@docs
631+
is296095
632+
```
633+
```@docs
634+
is299498
635+
```
636+
```@docs
637+
is299733
638+
```
639+
```@docs
640+
is299928
641+
```
642+
```@docs
643+
is299929
644+
```
645+
```@docs
646+
is299930
647+
```
648+
```@docs
649+
is325143
650+
```
651+
```@docs
652+
is325145
653+
```
654+
```@docs
655+
is327988
656+
```
657+
```@docs
613658
isAbundant
614659
```
615660
```@docs
@@ -787,9 +832,6 @@ R000045
787832
V000045
788833
```
789834
```@docs
790-
is000045
791-
```
792-
```@docs
793835
V000055
794836
```
795837
```@docs
@@ -1243,9 +1285,6 @@ L005101
12431285
V005101
12441286
```
12451287
```@docs
1246-
is005101
1247-
```
1248-
```@docs
12491288
L005117
12501289
```
12511290
```@docs
@@ -1303,15 +1342,9 @@ L006318
13031342
V006519
13041343
```
13051344
```@docs
1306-
is206864
1307-
```
1308-
```@docs
13091345
L006922
13101346
```
13111347
```@docs
1312-
is206942
1313-
```
1314-
```@docs
13151348
V007060
13161349
```
13171350
```@docs
@@ -1540,12 +1573,6 @@ L025035
15401573
L025036
15411574
```
15421575
```@docs
1543-
is325143
1544-
```
1545-
```@docs
1546-
is325145
1547-
```
1548-
```@docs
15491576
L025528
15501577
```
15511578
```@docs
@@ -1558,9 +1585,6 @@ V027641
15581585
V027642
15591586
```
15601587
```@docs
1561-
is327988
1562-
```
1563-
```@docs
15641588
L028296
15651589
```
15661590
```@docs
@@ -1858,9 +1882,6 @@ L083207
18581882
V083207
18591883
```
18601884
```@docs
1861-
is083207
1862-
```
1863-
```@docs
18641885
V083652
18651886
```
18661887
```@docs
@@ -1894,9 +1915,6 @@ T090238
18941915
T090981
18951916
```
18961917
```@docs
1897-
is293654
1898-
```
1899-
```@docs
19001918
L094088
19011919
```
19021920
```@docs
@@ -1921,9 +1939,6 @@ V095350
19211939
V095794
19221940
```
19231941
```@docs
1924-
is296095
1925-
```
1926-
```@docs
19271942
L096727
19281943
```
19291944
```@docs
@@ -1957,21 +1972,6 @@ V099022
19571972
T099174
19581973
```
19591974
```@docs
1960-
is299498
1961-
```
1962-
```@docs
1963-
is299733
1964-
```
1965-
```@docs
1966-
is299928
1967-
```
1968-
```@docs
1969-
is299929
1970-
```
1971-
```@docs
1972-
is299930
1973-
```
1974-
```@docs
19751975
A101880
19761976
```
19771977
```@docs

src/BuildSequences.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ function sortnames()
9191
if occursin(r"^[ACFGILMPRSTV][0-9]{6},$", l)
9292
c = 0
9393
end
94-
if occursin(r"^is[0-9]{6},$", l) || occursin(r"^TL[0-9]{6},$", l) || occursin(r"^TF[0-9]{6},$", l)
95-
i = 2
96-
c = 0
97-
end
94+
#if occursin(r"^is[0-9]{6},$", l)
95+
#|| occursin(r"^TL[0-9]{6},$", l)
96+
#|| occursin(r"^TF[0-9]{6},$", l)
97+
# i = 2
98+
# c = 0
99+
#end
98100

99101
c == 2 && (print(sindex, l); continue)
100102

src/IntegerSequences.jl

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright Peter Luschny. License is MIT.
33
# This file includes parts from Combinatorics.jl in modified form.
44

5-
# Version of: UTC 2019-11-20 14:10:18
6-
# 199cb8d0-0b97-11ea-05d0-93296b381fc2
5+
# Version of: UTC 2019-11-20 15:07:53
6+
# 24c55840-0b9f-11ea-27c9-d5ba574f99c5
77

88
# Do not edit this file, it is generated from the modules and will be overwritten!
99
# Edit the modules in the src directory and build this file with BuildSequences.jl!
@@ -214,6 +214,21 @@ export AltCoeffs,
214214
data_installed,
215215
divisors,
216216
fromΔ,
217+
is000045,
218+
is005101,
219+
is083207,
220+
is206864,
221+
is206942,
222+
is293654,
223+
is296095,
224+
is299498,
225+
is299733,
226+
is299928,
227+
is299929,
228+
is299930,
229+
is325143,
230+
is325145,
231+
is327988,
217232
isAbundant,
218233
isCarmichael,
219234
isComposite,
@@ -273,7 +288,6 @@ export AltCoeffs,
273288
L000045,
274289
R000045,
275290
V000045,
276-
is000045,
277291
V000055,
278292
G000073,
279293
L000073,
@@ -425,7 +439,6 @@ export AltCoeffs,
425439
I005101,
426440
L005101,
427441
V005101,
428-
is005101,
429442
L005117,
430443
V005187,
431444
L005411,
@@ -445,9 +458,7 @@ export AltCoeffs,
445458
G006318,
446459
L006318,
447460
V006519,
448-
is206864,
449461
L006922,
450-
is206942,
451462
V007060,
452463
T007318,
453464
L007522,
@@ -524,13 +535,10 @@ export AltCoeffs,
524535
L023021,
525536
L025035,
526537
L025036,
527-
is325143,
528-
is325145,
529538
L025528,
530539
V026791,
531540
V027641,
532541
V027642,
533-
is327988,
534542
L028296,
535543
L031363,
536544
V032031,
@@ -630,7 +638,6 @@ export AltCoeffs,
630638
I083207,
631639
L083207,
632640
V083207,
633-
is083207,
634641
V083652,
635642
L084916,
636643
T084938,
@@ -642,7 +649,6 @@ export AltCoeffs,
642649
L089270,
643650
T090238,
644651
T090981,
645-
is293654,
646652
L094088,
647653
L094587,
648654
M094587,
@@ -651,7 +657,6 @@ export AltCoeffs,
651657
T094665,
652658
V095350,
653659
V095794,
654-
is296095,
655660
L096727,
656661
V097383,
657662
L097805,
@@ -663,11 +668,6 @@ export AltCoeffs,
663668
V097805,
664669
V099022,
665670
T099174,
666-
is299498,
667-
is299733,
668-
is299928,
669-
is299929,
670-
is299930,
671671
A101880,
672672
V102376,
673673
T104556,
@@ -2631,7 +2631,7 @@ end
26312631
Return a list of pairs ``(x, y)`` given by the boustrophedonic Rosenberg-Strong enumeration.
26322632
$(SIGNATURES)
26332633
"""
2634-
L319514(len) = [V319514(n) for n 0:len-1]
2634+
L319514(len) = [V319514(n) for n ��� 0:len-1]
26352635
# *** CarmichaelNumbers.jl ****************
26362636
"""
26372637
@@ -6261,7 +6261,7 @@ $(SIGNATURES)
62616261
function mods(b, a)
62626262
b == 0 && return a
62636263
h = a >> 1
6264-
(q, r) = divrem(b, a)
6264+
(q, r) = Nemo.divrem(b, a)
62656265
if h < r
62666266
r -= a
62676267
end

src/NumberTheory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Return the least absolute remainder. mods uses the symmetric representation for
260260
function mods(b, a)
261261
b == 0 && return a
262262
h = a >> 1
263-
(q, r) = divrem(b, a)
263+
(q, r) = Nemo.divrem(b, a)
264264
if h < r
265265
r -= a
266266
end

test/perftests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright Peter Luschny. License is MIT.
33
# This file includes parts from Combinatorics.jl in modified form.
44

5-
# Version of: UTC 2019-11-20 14:10:18
6-
# 19a3e4c0-0b97-11ea-15a3-dbe6732b25a1
5+
# Version of: UTC 2019-11-20 15:07:53
6+
# 24cde3c0-0b9f-11ea-040e-a9dd741fd197
77

88
# Do not edit this file, it is generated from the modules and will be overwritten!
99
# Edit the modules in the src directory and build this file with BuildSequences.jl!

test/runtests.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright Peter Luschny. License is MIT.
33
# This file includes parts from Combinatorics.jl in modified form.
44

5-
# Version of: UTC 2019-11-20 14:10:18
6-
# 19a03b40-0b97-11ea-01f2-0973d4d54a92
5+
# Version of: UTC 2019-11-20 15:07:53
6+
# 24cb4bb0-0b9f-11ea-0956-99e8e8d5a0be
77

88
# Do not edit this file, it is generated from the modules and will be overwritten!
99
# Edit the modules in the src directory and build this file with BuildSequences.jl!
@@ -965,8 +965,6 @@ end
965965
end
966966
# *** SeqTests.jl *********
967967
@testset "GenerateAll" begin
968-
global SEQUENCES
969-
GenerateAllTest(SEQUENCES)
970968
end
971969
# *** SeqUtils.jl *********
972970
# *** SeriesExpansion.jl *********

0 commit comments

Comments
 (0)