Skip to content

Instantly share code, notes, and snippets.

import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
BigInteger supply = new BigInteger("0");
BigInteger adder = new BigInteger("2100000000000000");
for (int i = 0; i < 35; i++) {
String upper = "0";
String lower = "";
if(supply.toString().length() > 1){
import math
import matplotlib.pyplot as plt
knoten = 4
prob = 1/3
def getProbForK(k):
total_edges = (knoten*(knoten-1))/2
return (math.factorial(total_edges)/(math.factorial(k)*math.factorial(total_edges-k)))*math.pow(prob,k)*math.pow((1-prob),(total_edges-k))
import java.util.Random;
public class ErdosGraph {
public static void main(String[] args) {
// k and n
int kanten = 1000;
int knoten = 50;
// this is p
double p = 0.821875;

Keybase proof

I hereby claim:

  • I am paulebertt on github.
  • I am paulebert (https://keybase.io/paulebert) on keybase.
  • I have a public key ASDFSQxLA8u8SnLOuym38Pj1-fHwXWDNfyhyl4W-tJR4DAo

To claim this, I am signing this object: