How Random Babbling Becomes Corporate Policy (t3knomanser) wrote,
How Random Babbling Becomes Corporate Policy
t3knomanser

Benford's Law

After reading that post I linked to last night about Benford's law, I wrote a program to take a crack at applying it to prime numbers. For most of the sets of primes I've tried, it fails. I think for the first 400 primes it was pretty close. I set it up to run through the first 10,000,000 last night, but it was still running this morning, and I also realized that I'd probably overflow the int datatype with that one. I'm going to run a smaller one first; let's say 500,000? That's still an overnight run; I only got to 200,000 with my run last night. I'll probably start it later today.
Subscribe

  • Strange Things People Say About Me (to my face)

    Recently, I've been at the center of a trend. That trend is complete strangers asking me "Are you ____?" A quick summary. For example: Are you…

  • Writer's Block: If I could find my way

    -10,000 years, at minimum. Tomorrow is always better than today, especially when you can't fact-check.

  • Bob Morlang

    When I was working at Tri-Mount, we had these camp trucks. They were army surplus, and while they could take a beating, they only sort of worked. And…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments