Skip to content

Commit 17b680e

Browse files
Merge pull request #6 from OpenLibMathSeq/dev
Dev
2 parents f246530 + 5d44a71 commit 17b680e

55 files changed

Lines changed: 4583 additions & 1415 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Docs dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://openlibmathseq.github.io/IntegerSequences.jl/dev)
66
--
77

8-
Requires Julia version ≥ 1.1 .
8+
The package is tested against, and being developed for, Julia 1.1 and above on Linux, macOS, and Windows64.
99

1010
## Naming conventions
1111

@@ -222,7 +222,7 @@ Sequences are fun!
222222
* Start with cloning the module [NarayanaCows](https://github.com/OpenLibMathSeq/IntegerSequences.jl/blob/master/src/NarayanaCows.jl)
223223
as a blueprint. Replace what is to be replaced.
224224

225-
* Execute the module 'BuildSequences' which will integrate your module into 'Sequences'.
225+
* Execute the module 'BuildSequences' which will integrate your module into 'IntegerSequences'.
226226

227227
* Send us a pull request.
228228

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "Sequences-docs"
1+
name = "IntegerSequences-docs"
22

33
[deps]
44
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

docs/make.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
push!(LOAD_PATH, "../src/")
1+
prodir = realpath(joinpath(dirname(dirname(@__FILE__))))
2+
srcdir = joinpath(prodir, "src")
3+
srcdir LOAD_PATH && push!(LOAD_PATH, srcdir)
24

35
using Documenter, IntegerSequences
46

docs/src/developerguide.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ in a final step.
7777
All terms of all sequences have the same type. Currently this is the
7878
type fmpz as provided by the Nemo library.
7979

80-
Sequences supports the use of notation using unicode characters, especially the
81-
traditional notation used in number theory. For example we define
80+
IntegerSequences supports the use of notation using unicode characters, especially the traditional notation used in number theory. For example we define
8281
```
8382
τ(n) = Nemo.sigma(n, 0)
8483
μ(n) = Nemo.moebiusmu(n)
84+
V006171(n) = EulerTransform(τ)(n)
8585
```
8686
We also support new notations like the proposal from Knuth, Graham and
8787
Patashnik in Concrete Mathematics:
@@ -96,8 +96,7 @@ where `isPrimeTo` is defined as:
9696

9797
For example ``⊥(n, ϕ(n))`` indicates if there is just one group of order ``n``.
9898
But this is not only a concise mathematical formula, this is also valid Julia
99-
code (defined in Sequences). The predicate gives rise to the sequence of cyclic
100-
numbers, A003277 in the OEIS.
99+
code (defined in IntegerSequences). The predicate gives rise to the sequence of cyclic numbers, A003277 in the OEIS.
101100

102101
Similarly possible definitions of some sequences (not necessarily efficient ones
103102
in the computational sense) are
@@ -136,12 +135,12 @@ returned in the given order by a generating function.
136135

137136
In the OEIS, on the other hand, a sequence is an enumeration, a set with an index function where the first index (called offset o) is specified. With this we arrive at this picture:
138137

139-
``a_o, b_{o+1}, c_{o+2}, d_{o+3}, ...``
138+
``a_o, a_{o+1}, a_{o+2}, a_{o+3}, ...``
140139

141140
In this view a list (representing the initial segment of the sequence)
142141
takes the place of the iteration.
143142

144-
``[ a_{o}, b_{o+1}, c_{o+2}, ..., z_{o+n-1} ]``
143+
``[ a_{o}, a_{o+1}, a_{o+2}, ..., a_{o+n-1} ]``
145144

146145
In contrast in our setup the concept of offset and indexing does not occur at all but is transferred to the interpretation: only the application decides about indexing and offset. In practice our setup avoiding the use of an offset turns out
147146
to be more flexible.

0 commit comments

Comments
 (0)