Carmichael 3 strong pseudoprimes: Difference between revisions

Content added Content deleted
(Shorter D entry)
m (Less imports in D entry)
Line 28: Line 28:
=={{header|D}}==
=={{header|D}}==
From the Python entry, with several changes. Imports the third (extensible) D entry of the Sieve of Eratosthenes Task.
From the Python entry, with several changes. Imports the third (extensible) D entry of the Sieve of Eratosthenes Task.
<lang d>import std.stdio, std.algorithm, std.range, std.bitmanip,
<lang d>import std.stdio, sieve_of_eratosthenes3;
sieve_of_eratosthenes3;


struct Carmichael {
struct Carmichael {