Skip to content

voutasaurus/birthday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

birthday Build Status

Calculator for probability of collision given h holes and p pigeons

Installation

$ go get github.com/voutasaurus/birthday

Usage

$ birthday -h $[3000*1000] -p 4000
93.05%

N.B. The $[3000*1000] is bash syntax. -h and -p both expect an integer.

Contributions

Issues and PRs welcome.

Releases

No releases published

Packages

No packages published

Languages