trizen
|
426346ec4c
Slightly better performance in generating native pseudoprimes.
|
4 months ago |
trizen
|
65ee3494ca
Execute `pfgw64` in a temporary directory.
|
4 months ago |
trizen
|
04e7c13d23
- Added the Number `Num!USE_PFGW` class-variable. (disabled by default)
|
4 months ago |
trizen
|
30aead5dd0
Ignore trial-division factors when looking for special factors in Number `_factor(n)`.
|
4 months ago |
trizen
|
2074f273c6
Fixed a minor issue in Number `is_powerful(n,k)`: return false if `n` is negative and `k == 1`.
|
4 months ago |
trizen
|
fe5852e01b
- Added the Number `geometric_summod(n, r, m)` method.
|
4 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).
|
4 months ago |
trizen
|
1e97aaeaa7
- REPL: allow variable declarations in interactive mode to contain empty lines.
|
5 months ago |
trizen
|
5930a89e2d
- Workaround for a bug in interactive mode.
|
5 months ago |
trizen
|
054b19fa90
Replaced http:// with https:// in Sidef scripts.
|
5 months ago |
trizen
|
858add247d
Slightly better performance in Number `is_prob_prime(n)` and `all_prime(...)` for n < 10^1000.
|
5 months ago |
trizen
|
0f76bd941a
- Added the Number `centered_pyramidal(n,k)` method.
|
5 months ago |
trizen
|
b78758147c
- Optimized Number `ipow2(n)` and `ipow10(n)` when the result is a native integer.
|
5 months ago |
trizen
|
d8d9ca3f43
- Added the Number `antidivisor_sum(n)` method.
|
5 months ago |
trizen
|
d99908ca1e
- Optimized Number `n.remove(k)` for native integers.
|
5 months ago |
trizen
|
2b750d7233
- Added the Number `pisano_period(n)` method.
|
5 months ago |
trizen
|
de88fe0e57
- Added the Number `solve_quadratic_form(d, n)` method.
|
5 months ago |
trizen
|
164425cbf8
- Less overhead in Number `_big2istr()`, `_big2uistr` and `_big2pistr()` private functions.
|
5 months ago |
trizen
|
038de75144
- Slightly better performance in Number `is_mersenne_prime`.
|
5 months ago |
trizen
|
f904fc4cf0
- Added the Block `{ ... }.nest(n, initial_value=0)` method.
|
5 months ago |
trizen
|
c733f796ea
- Added the Number `antidivisors(n)` and `antidivisor_count(n)` methods.
|
5 months ago |
trizen
|
3202fada09
- Allow Set and Bag objects to be used as arrays.
|
5 months ago |
trizen
|
67377c2647
- Optimized Number `factorial_valuation(n,p)` for native integers.
|
5 months ago |
trizen
|
204dc7d08d
- Several optimizations in the Number class for native integers.
|
5 months ago |
trizen
|
25df4d76b6
Minor performance tweaks in Number `miller_factor(n)` and `lucas_factor(n)`.
|
5 months ago |
trizen
|
294f4a3cf3
Tweaked a bit the performance of `is_lucas_carmichael(n)`, when is actually a Lucas-Carmichael number.
|
5 months ago |
trizen
|
74c5901617
- Better performance in Number `is_carmichael(n)` and `is_lucas_carmichael(n)`.
|
5 months ago |
trizen
|
6925ddc38c
- Much faster generation of Carmichael and Lucas-Carmichael numbers with few prime factors.
|
5 months ago |
trizen
|
c773554366
modified: utils/sidef2bin.sh
|
6 months ago |
trizen
|
2336702f8d
Added 3 more test files.
|
6 months ago |