trizen
|
9e7b304cf8
modified: NUMBER_THEORY_TUTORIAL.md -- documented the Sophie Germain factorization method.
|
8 months ago |
trizen
|
731abe594d
REPL: add typed words to auto-completion only when the code is valid
|
8 months ago |
trizen
|
0a9cd662c4
- Optimized Number `idiv_ceil(a,b)` for native positive integers.
|
9 months ago |
trizen
|
1b2caeaeb7
modified: NUMBER_THEORY_TUTORIAL.md -- document the new `Num!USE_PFGW` class-variable.
|
9 months ago |
trizen
|
c9ba93e633
- Added the Number `znlog(a, g, m)` method.
|
9 months ago |
trizen
|
426346ec4c
Slightly better performance in generating native pseudoprimes.
|
9 months ago |
trizen
|
65ee3494ca
Execute `pfgw64` in a temporary directory.
|
9 months ago |
trizen
|
04e7c13d23
- Added the Number `Num!USE_PFGW` class-variable. (disabled by default)
|
9 months ago |
trizen
|
30aead5dd0
Ignore trial-division factors when looking for special factors in Number `_factor(n)`.
|
9 months ago |
trizen
|
2074f273c6
Fixed a minor issue in Number `is_powerful(n,k)`: return false if `n` is negative and `k == 1`.
|
9 months ago |
trizen
|
fe5852e01b
- Added the Number `geometric_summod(n, r, m)` method.
|
9 months ago |
trizen
|
30f35b60b6
Minor tweaks in `is_almost_prime(n,k)` and `is_omega_prime(n,k)` for slightly better performance (mainly on 32-bit).
|
9 months ago |
trizen
|
1e97aaeaa7
- REPL: allow variable declarations in interactive mode to contain empty lines.
|
9 months ago |
trizen
|
5930a89e2d
- Workaround for a bug in interactive mode.
|
9 months ago |
trizen
|
054b19fa90
Replaced http:// with https:// in Sidef scripts.
|
9 months ago |
trizen
|
858add247d
Slightly better performance in Number `is_prob_prime(n)` and `all_prime(...)` for n < 10^1000.
|
9 months ago |
trizen
|
0f76bd941a
- Added the Number `centered_pyramidal(n,k)` method.
|
9 months ago |
trizen
|
b78758147c
- Optimized Number `ipow2(n)` and `ipow10(n)` when the result is a native integer.
|
9 months ago |
trizen
|
d8d9ca3f43
- Added the Number `antidivisor_sum(n)` method.
|
9 months ago |
trizen
|
d99908ca1e
- Optimized Number `n.remove(k)` for native integers.
|
9 months ago |
trizen
|
2b750d7233
- Added the Number `pisano_period(n)` method.
|
10 months ago |
trizen
|
de88fe0e57
- Added the Number `solve_quadratic_form(d, n)` method.
|
10 months ago |
trizen
|
164425cbf8
- Less overhead in Number `_big2istr()`, `_big2uistr` and `_big2pistr()` private functions.
|
10 months ago |
trizen
|
038de75144
- Slightly better performance in Number `is_mersenne_prime`.
|
10 months ago |
trizen
|
f904fc4cf0
- Added the Block `{ ... }.nest(n, initial_value=0)` method.
|
10 months ago |
trizen
|
c733f796ea
- Added the Number `antidivisors(n)` and `antidivisor_count(n)` methods.
|
10 months ago |
trizen
|
3202fada09
- Allow Set and Bag objects to be used as arrays.
|
10 months ago |
trizen
|
67377c2647
- Optimized Number `factorial_valuation(n,p)` for native integers.
|
10 months ago |
trizen
|
204dc7d08d
- Several optimizations in the Number class for native integers.
|
10 months ago |
trizen
|
25df4d76b6
Minor performance tweaks in Number `miller_factor(n)` and `lucas_factor(n)`.
|
10 months ago |