Skip to content

Instantly share code, notes, and snippets.

Ed Duarte EdDuarte

Block or report user

Report or block EdDuarte

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
// from guava library
// change these two variables
final long nPeople = 23;
final long nDays = 365;
ContiguousSet<Long> matrix = ContiguousSet.create(

Keybase proof

I hereby claim:

  • I am edduarte on github.
  • I am edduarte ( on keybase.
  • I have a public key ASDbP2LiMvtfE-_kgoAsOfg7Nc5bgXzIgNhxLHf0Yxk3Uwo

To claim this, I am signing this object:

EdDuarte /
Last active Aug 4, 2019
Primality tests (Trial division, Fermat and Miller-Rabin) in Java.
* @author Ed Duarte (<a href=""></a>)
public class Prime {
private random;
public Prime() {
this.random = new;
You can’t perform that action at this time.