## Birthday Spacing test

Hi,

Could someone please help me to understand the Birthday Spacing test?
Suppose that I have one sample (1,3,9,40,20,50,..., 91), say, and I want to use it for testing the random number generator (that takes value on (0,99), for example).

How can it be done using the Birthday Spacing test? Because as far as I know, I'd have to create N samples of size n from that generator in order to use this test and, for each sample, calculate the spaces between the n elements and count the number of repeated values among those spaces. It would have an asymptotic poisson distribution and then the chi-square test could be used.

Or it can be done using just one sample? If yes, how?
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8834244012832642, "perplexity": 323.11588076611974}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-04/segments/1484560280425.43/warc/CC-MAIN-20170116095120-00536-ip-10-171-10-70.ec2.internal.warc.gz"}