Searched refs:totients (Results 1 – 10 of 10) sorted by relevance
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/t/ |
H A D | 19-totients.t | 15 my %totients = ( 26 plan tests => 2 + 10 + scalar(keys %totients) 45 while (my($n, $phi) = each (%totients)) {
|
/dports/math/p5-Math-Prime-Util-GMP/Math-Prime-Util-GMP-0.52/t/ |
H A D | 19-moebius.t | 14 my %totients = ( 185 + 1 + scalar(keys %totients) 210 while (my($n, $phi) = each (%totients)) {
|
/dports/math/primecount/primecount-7.2/src/ |
H A D | PhiTiny.cpp | 35 const std::array<uint32_t, 8> PhiTiny::totients = { 1, 1, 2, 8, 48, 480, 5760, 92160 }; member in primecount::PhiTiny 51 static_assert(totients.size() == primes.size(), "Invalid totients size!"); in PhiTiny()
|
/dports/math/primecount/primecount-7.2/include/ |
H A D | PhiTiny.hpp | 70 T sum = xpp * totients[a]; in phi() 150 static const std::array<uint32_t, 8> totients; member in primecount::PhiTiny
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/ |
H A D | util.c | 332 UV* totients; in range_totient() local 344 return totients; in range_totient() 367 totients[index] = totients[i]*2; in range_totient() 375 totients[index] = totients[i]*prime[j]; in range_totient() 378 totients[index] = totients[i]*(prime[j]-1); in range_totient() 388 totients[1] = 1; in range_totient() 389 totients[0] = 0; in range_totient() 390 return totients; in range_totient() 405 totients[i-lo] -= totients[i-lo]/p; in range_totient() 413 totients[i]--; in range_totient() [all …]
|
H A D | MANIFEST | 156 t/19-totients.t
|
H A D | XS.xs | 2108 UV *totients = range_totient(arrlo, hi); 2110 PUSHs(sv_2mortal(newSVuv(totients[i+lo-arrlo]))); 2111 Safefree(totients);
|
/dports/math/p5-Math-Prime-Util/Math-Prime-Util-0.73/lib/Math/Prime/Util/ |
H A D | PP.pm | 980 my @totients; 982 push @totients, 0; 985 return @totients if $hi < $lo; 989 push @totients, euler_phi($lo++); 1001 push @totients, @tot; 1003 @totients;
|
/dports/textproc/zorba/zorba-2.7.0/wordlists/ |
H A D | english-words.80 | 121822 totients
|
/dports/games/tanglet/tanglet-1.6.0/wordlists/ |
H A D | en | 225761 totients
|