Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -10,6 +10,6 @@ void main() @safe {
|
|||
.map!(t => tuple(t[0 .. 2].gcd == 1, t[]));
|
||||
|
||||
auto xs = triples(100);
|
||||
writeln("Up to 100 there are ", xs.count, " triples, ",
|
||||
xs.filter!q{ a[0] }.count, " are primitive.");
|
||||
writefln("\nUp to %d there are %d triples, %d are primitive.", N, xs.count,
|
||||
xs.filter!q{ a[0] }.count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue