Slashdot Mirror


New Pattern Found In Prime Numbers

stephen.schaubach writes "Spanish Mathematicians have discovered a new pattern in primes that surprisingly has gone unnoticed until now. 'They found that the distribution of the leading digit in the prime number sequence can be described by a generalization of Benford's law. ... Besides providing insight into the nature of primes, the finding could also have applications in areas such as fraud detection and stock market analysis. ... Benford's law (BL), named after physicist Frank Benford in 1938, describes the distribution of the leading digits of the numbers in a wide variety of data sets and mathematical sequences. Somewhat unexpectedly, the leading digits aren't randomly or uniformly distributed, but instead their distribution is logarithmic. That is, 1 as a first digit appears about 30% of the time, and the following digits appear with lower and lower frequency, with 9 appearing the least often.'"

509 comments

  1. Other bases? by wiredlogic · · Score: 4, Insightful

    When happens with the primes are represented in base-9 or base-11?

    --
    I am becoming gerund, destroyer of verbs.
    1. Re:Other bases? by Anonymous Coward · · Score: 5, Funny

      It would be bad.

    2. Re:Other bases? by Anonymous Coward · · Score: 0

      A different application of Benford's Law, presumably.

    3. Re:Other bases? by hkz · · Score: 5, Informative

      Benson's Law is actually independent of the number base used. It wouldn't be much of a mathematical property if it wasn't. No matter how you convert a number, you will always see the same bias.

    4. Re:Other bases? by Anonymous Coward · · Score: 5, Funny

      Bad as in "cross the streams" bad, or "according to an AC on Slashdot" bad ?

    5. Re:Other bases? by MeatBag+PussRocket · · Score: 1

      all your bases are belong to primes.

      --
      i wage a holy war against the apostrophe.
    6. Re:Other bases? by jonaskoelker · · Score: 4, Insightful

      I don't know; it might be interesting to know that the leading digits of powers-of-k are distributed in some interesting way in base not-k. They obviously all have a leading 1 in base k.

    7. Re:Other bases? by Megaweapon · · Score: 5, Funny

      base-9 or base-11?

      NEVER FORGET

      --
      I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
    8. Re:Other bases? by pdxp · · Score: 5, Informative

      It wouldn't change the logarithmic nature of the distribution of the digits, AFAIK.

      My math degree is getting dusty, but I'm pretty sure that the same pattern could be represented in another base by changing their generalization of Benford's law to include it, and the distribution would look like log(x)/log(9) or log(x)/log(11). Remember, changing the base of a logarithm is easy: for example, log(x)/log(e) = ln(x)

      So you get the same distribution, different base.

    9. Re:Other bases? by ubungy · · Score: 0

      All the base are belong to this.

    10. Re:Other bases? by Anonymous Coward · · Score: 4, Interesting

      Benson's Law is actually independent of the number base used. It wouldn't be much of a mathematical property if it wasn't.

      Err, what? The study of representations of numbers is a valid field of mathematics itself.

    11. Re:Other bases? by Anonymous Coward · · Score: 0

      Do you have a proof of that?

    12. Re:Other bases? by Kjella · · Score: 2, Interesting

      If you got more numbers in 10-19 than 90-99, you probably also have more numbers in 0x10-0x1f than 0xf0-0xff...

      --
      Live today, because you never know what tomorrow brings
    13. Re:Other bases? by Anonymous Coward · · Score: 2, Interesting

      (Warning, IANAM)
      It's base independent. Basically, primes are distributed on a logarithmic scale (prime number theorem). For sufficently large intervals, there are always more primes in interval starting at x than the interval of the same size starting at y if xy. Like, there are more prime numbers in 1000..1999 than in 9000..9999.

    14. Re:Other bases? by Anonymous Coward · · Score: 0

      if that law can make me win the lotto, I totally follow it...

    15. Re:Other bases? by dave1g · · Score: 4, Informative

      from benfords law link:

      "The result holds regardless of the base in which the numbers are expressed, although the exact proportions change."

    16. Re:Other bases? by AvitarX · · Score: 3, Funny

      I just did it in base-2 and found that 100% of all primes start with the digit 1.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    17. Re:Other bases? by CaseyB · · Score: 5, Funny

      All your base are belong to Benford.

    18. Re:Other bases? by Anonymous Coward · · Score: 0

      worse than both: "someone said it on the internet" bad! ohmagawd! noway!

    19. Re:Other bases? by Tubal-Cain · · Score: 1

      I've often wondered how many patterns we are missing, especially in regards to our "special" numbers (Pi, Phi, e, primes....) because we mostly deal in base10. If we suffer a Class 1 or Class 2 Apocalypse, I intend to seize the opportunity and implement hexadecimal as a default number system.

    20. Re:Other bases? by Rayban · · Score: 1
      --
      æeee!
    21. Re:Other bases? by Lillesvin · · Score: 5, Funny

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1. :-p

      --
      "Live free or don't."
    22. Re:Other bases? by stonewallred · · Score: 4, Interesting

      Code this have cryptographical uses? IANAMOG, but I know primes play a role in many crypto schemes.

    23. Re:Other bases? by dynamo52 · · Score: 5, Insightful

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1.

      ...and all but one would end with 1 as well.

      --
      Like this comment? I accept Bitcoin! - 153sc8UUBXyp12ofQqfAWDmJrzyiKCYC1x
    24. Re:Other bases? by BobReturns · · Score: 1

      And, all the primes (except for one of them) end with the digit 1 as well.

    25. Re:Other bases? by maraist · · Score: 1

      As you know, the 'leading digit' is related the highest power of a base. Logs pull the exponents off a power - with only the highest power having any great effect. Namely, with 2 * 10^2 + 9 * 10^1, the 9 part is neglegable.

      Benford's law (BL) is based on the distribution the log-scale, so obviously the 'base' (the 10) is meaningless.

      However, if you used a number system that wasn't based on exponential powers, then you could definitely reveal different patterns. Maybe a non-linear, a circular, a factorial number system.

      --
      -Michael
    26. Re:Other bases? by Yold · · Score: 2, Interesting

      The Wikipedia article states that in practice more than the first digit is used.

      Is this something like a histogram, and increasing the number of digits analyzed gives you a better picture?

    27. Re:Other bases? by Anonymous Coward · · Score: 4, Interesting

      But how many would contain all 1s? Answer that, and provide a proof for your answer, and you'll make math history.

    28. Re:Other bases? by Anonymous Coward · · Score: 0

      all your bases are belong to us

    29. Re:Other bases? by Anonymous Coward · · Score: 5, Informative

      Numbers are objects, I wish people would understand that numbers are just distinctions. The whole of mathematics is really just a language of form and structure, a system to systematize and decribe structure and forms (relationships are a type of form).

    30. Re:Other bases? by Anonymous Coward · · Score: 1

      What? Zero padding only applies to the left of a binary number, not the right. The ending of a number wouldn't be affected at all.

    31. Re:Other bases? by Spikeman56 · · Score: 1

      So if I use Benson's Law with base 100, does that mean I can predict the first 100 primes? Or will it just effectively give me the distribution of primes (ie. the number of primes in 100) without placement?
      I should really just rtfa...

    32. Re:Other bases? by Anonymous Coward · · Score: 0

      Forget what?

    33. Re:Other bases? by Sparr0 · · Score: 3, Interesting

      The ending of a number in binary indicates its oddness. 2 (0b10) is the only prime that ends in zero in binary.

    34. Re:Other bases? by Sparr0 · · Score: 4, Insightful

      The faux concern, or misplaced real concern, so many people show over 9/11 has made it a relevant target for such jokes since 9/12.

    35. Re:Other bases? by Ibag · · Score: 5, Informative

      Benford's law works by the observation that, when numbers come up in certain real world contexts, the fluctuations you get in numbers should be proportional to the numbers themselves. Phrased differently, variations tend to be relative, not absolute. Because of this, if you have a very large range of random numbers from many real world measurements, then you would expect the number between t and t*(1.0001) not to vary too much for small changes in t. Let us try to use this observation very coarsely. Among the numbers with 6 digits, the number that look like 1xxxxxx (those between 100000 and 200000) should be about the same the number between 200000 and 400000. The same thing happens with the numbers with 5 digits or 7 digits or n digits (assuming that you have a wide range of random numbers, and the numbers are the kind that come from certain sorts of real world measurements). Additionally, you can get distributions for the first two digits, the first three digits, etc.

      This observation doesn't depend on the base that you're working with.

      Now, with the prime numbers, they have a distribution that is different from a lot of real world measurement data. The number of primes between n and n+d is approximately d/ln(n), where ln is the log with base e and d is small compared to n. So the number of primes between 500000 and 600000 is about 100000/ln(500000), and the number of primes between 500000 and 600000 is about 100000/ln(600000). By using this, and being slightly more careful, one can determine fairly easily the distribution of the leading terms of the prime numbers.

      This is not a hard result. I would say that any professional mathematician who knew about the basic distribution of the primes could derive the distribution of the leading digis of the prime numbers fairly easily if anybody actually asked them to. The reason nobody mentioned this before is that nobody actually cares. While Benford's law does have applications to fraud detection, this new result does not. It's one of those things that makes people say "ooh, a pattern!" but which is just an easy and somewhat mundane corollary to a well known theorem.

    36. Re:Other bases? by Warlord88 · · Score: 1
      Refer to the Wikipedia article on Benford's law.

      The result holds regardless of the base in which the numbers are expressed, although the exact proportions change.

    37. Re:Other bases? by Anonymous Coward · · Score: 2, Insightful

      It was long enough by about a week later. This is the internet, on the internet anything more than a month old is ancient history.

    38. Re:Other bases? by Anonymous Coward · · Score: 0

      base-9 or base-11?

      NEVER FORGET

      Humor aside:

      The memory and pain of December 7th has passed, why should September 11 be any different?

    39. Re:Other bases? by Anonymous Coward · · Score: 5, Funny

      Knock knock.

      Who's there?

      9/11.

      9/11 who?

      YOU SAID YOU'D NEVER FORGET!

    40. Re:Other bases? by ctrl-alt-canc · · Score: 1

      And all but one end with digit 1.

    41. Re:Other bases? by flyneye · · Score: 1

      Bruno! Escort Mr. Benson to the door. He won't be skimming the blackjack tables in this town anymore.

      --
      *Repent!Quit Your Job!Slack Off!The World Ends Tomorrow and You May Die!
    42. Re:Other bases? by Anonymous Coward · · Score: 5, Funny

      Oh yeah? Well give me two minutes and check again.

    43. Re:Other bases? by Tony+Hoyle · · Score: 1

      Hell, why stop there... go for base 1 million.

    44. Re:Other bases? by gearloos · · Score: 0, Redundant

      It doesn't really matter... "All Your Bases Are Belong To Us!"

      --
      "Computers are a lot like Air Conditioners" "They both work great until you start opening Windows"
    45. Re:Other bases? by GooberToo · · Score: 1

      Any notion if this has implications for cryptography? I know many algorithms make use of prime numbers. So if the resulting hash uses primes and they can some how be characterized by this discovery, does this theortically weaken some cryptographic algorithms?

    46. Re:Other bases? by kestasjk · · Score: 1

      Another pattern has been found!

      --
      // MD_Update(&m,buf,j);
    47. Re:Other bases? by jstott · · Score: 1

      When happens with the primes are represented in base-9 or base-11?

      Benson's law comes out of the distribution of logarithms. Change the base and you change the probability that the leading digit is a "1," but the law itself works for any base because logarithms are a well-behaved function.

      -JS

      --
      Vanity of vanities, all is vanity...
    48. Re:Other bases? by Aristos+Mazer · · Score: 1

      Right, which means the logarithmic distribution of digits is still true. 1 is 100% because there is only one digit. The law says that in base 3, you'd have 1 be high and 2 be lower percent. And if you went to base 4, you'd have 1 high, 2 middle and 3 low. And so on.

      Being 100% in binary doesn't invalidate the law. That's just the base case.

    49. Re:Other bases? by Luxifer · · Score: 1

      The ending of a number in binary indicates its oddness. 2 (0b10) is the only prime that ends in zero in binary.

      which would make it very odd indeed.

    50. Re:Other bases? by Jane+Q.+Public · · Score: 4, Funny

      Some encryption algorithms that were predicted to take forever to crack with today's technology, may in the long run end up taking the logarithm of forever.

    51. Re:Other bases? by Anonymous Coward · · Score: 5, Informative

      They are also distributed as Benson's law describes, providing that k is not a rational power of the base. IAAM.

    52. Re:Other bases? by nine-times · · Score: 2, Informative

      Right, but the law is regarding distribution among the digits of possible first digits. Given that 1 is the only possible first digit in base 2, it could still be said to hold.

      I don't actually know, I'm guessing here. But it seems like in base-8, you wouldn't be looking to include the digit 9 in your distribution analysis.

    53. Re:Other bases? by UnknownSoldier · · Score: 1

      > I've often wondered how many patterns we are missing because we mostly deal in base 10.
      Changing the base doesn't change the underlying pattern (it MAY make it more visible though).

      Anyways, we've already discovered:

      - ALL primes are of the form 6n+/-1.
      - In binary, primes start with 1, and end with 1.
      - The Prime Number Cross

      Shouldn't come as shock that there will be more...

    54. Re:Other bases? by nine-times · · Score: 1

      Or I suppose the digit "8" for that matter.

    55. Re:Other bases? by Anonymous Coward · · Score: 1, Funny

      What was that noise?? Sort of a whooshing sound, like something flying overhead.

    56. Re:Other bases? by Faylone · · Score: 1

      Shouldn't there be an infinite number, since there's always more numbers in base 2 with all 1s that will be prime?

    57. Re:Other bases? by moteyalpha · · Score: 0, Redundant

      You are right, I checked my drive and 100% of the leading digits are 1! Of course, I am using the SATA ext3 Zaphod Beeblebrox infinite probability drive to store my information, which might explain that. 0x57,0x54,0x46? 101-0111,101-0100,100-0110?

    58. Re:Other bases? by tuck182 · · Score: 5, Informative

      You mean, how many are Mercene primes?

    59. Re:Other bases? by kasperd · · Score: 2, Interesting

      But how many would contain all 1s? Answer that, and provide a proof for your answer, and you'll make math history.

      Obviously the number of digits would have to be a prime number. But not all prime number of digits would give you a prime number. The first case is when there are 11 digits, the number would be 23*89 in that case.

      --

      Do you care about the security of your wireless mouse?
    60. Re:Other bases? by rubycodez · · Score: 1

      11 base 2 (3) is prime, number of digits two which is prime.

    61. Re:Other bases? by not+already+in+use · · Score: 1

      The higher the base, the smoother the degradation curve from 1...N digits.

      --
      Similes are like metaphors
    62. Re:Other bases? by julesh · · Score: 1

      Code this have cryptographical uses? IANAMOG, but I know primes play a role in many crypto schemes.

      The obvious thing is that it may speed up heuristic prime number generation, which would enable us to produce larger keys more easily.

    63. Re:Other bases? by OrangeTide · · Score: 1

      Well if you take groups of 2 binary digits then it's going to have the same properties as base-4. If you take groups of 3 then it's octal, and groups of 4, then it's hexadecimal. You have to take the groups starting at the radix point for it to be the same of course.

      Once you establish that they are the same in that respect, that means you can apply this property to multiple leading binary digits and it will work. And of course it doesn't only work for binary, it would work for two decimal digits as a base-100.

      --
      “Common sense is not so common.” — Voltaire
    64. Re:Other bases? by Anonymous Coward · · Score: 0

      If it bothers you that much, go back and this time don't read it.

    65. Re:Other bases? by Bromskloss · · Score: 5, Funny

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1. :-p

      100% = 100/100 = 1 = 0b1, which, by the way, looks like "Obi" and sounds like "Obi-Wan" when you say it.

      --
      Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    66. Re:Other bases? by kasperd · · Score: 1

      11 base 2 (3) is prime, number of digits two which is prime.

      Yes, that's just an example of what I said. 2, 3, 5, or 7 digits will give you prime numbers 3, 7, 31, and 127. But with 11 digits you get 2047 which is not a prime number.

      --

      Do you care about the security of your wireless mouse?
    67. Re:Other bases? by feepness · · Score: 1

      When happens with the primes are represented in base-9 or base-11?

      I'm sure someone will try it once they've seen your post.

    68. Re:Other bases? by Anonymous Coward · · Score: 0

      Base-2 Fail!

      How do *you* represent the base-10 value 8 in base-2 notation?

    69. Re:Other bases? by jd · · Score: 5, Funny

      "Bad" as in you will see the Message as hinted at by Carl Sagan's "Contact". It's from God and apparently decodes to: "We apologize for the inconvenience".

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    70. Re:Other bases? by wirelessbuzzers · · Score: 1

      Probably not. I don't think it says enough about the distribution of the primes to make either finding primes or factoring semiprimes easier.

      --
      I hereby place the above post in the public domain.
    71. Re:Other bases? by jd · · Score: 2, Interesting

      Since RSA relies on it being a Hard Problem to factor a number that is the product of two very large primes, it potentially introduces a weakness, as it presumably means some of those products will be easier to factor than others. A number that can be shown to be the product of two primes that both start with 9 should be much easier to work on than a number where both primes start with a 1, as there are far fewer 9- primes and therefore a smaller search space.

      The obvious place to start looking would be the RSA's prime challenge. If I'm even vaguely close to being right, then you should start seeing crypto mailing lists looking for vulnerable targets amongst the numbers the RSA has published.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    72. Re:Other bases? by pRtkL+xLr8r · · Score: 1

      Bad as in "same matter can't occupy the same space" from a time-paradox-kinda-bad I think...

    73. Re:Other bases? by Zeroko · · Score: 3, Interesting

      Since "forever" is often exponential time, the logarithm of forever would indeed make cryptanalysis easy. :)

    74. Re:Other bases? by Anonymous Coward · · Score: 0

      Odd.

    75. Re:Other bases? by Anonymous Coward · · Score: 0

      They don't only start with 1. The 100% end with 1

    76. Re:Other bases? by PleaseFearMe · · Score: 5, Funny

      It would be bad with binary. All numbers start with 1's.

    77. Re:Other bases? by Simetrical · · Score: 4, Informative

      But how many would contain all 1s? Answer that, and provide a proof for your answer, and you'll make math history.

      For those who didn't get it: it's not known whether there are infinitely many Mersenne primes, which have this form in binary (they're primes of the form 2^n - 1). Similarly, if you could figure out how many primes have only their first and last bits equal to 1, you would answer a longstanding question about Fermat primes (which are primes of the form 2^n + 1).

      --
      MediaWiki developer, Total War Center sysadmin
    78. Re:Other bases? by Anonymous Coward · · Score: 0

      You're stupid.

    79. Re:Other bases? by johnw · · Score: 1

      I don't actually know, I'm guessing here. But it seems like in base-8, you wouldn't be looking to include the digit 9 in your distribution analysis.

      Since when was 9 not an octal digit?

      Hmmm, I think it was since K&R2 actually.

    80. Re:Other bases? by mattj452 · · Score: 1

      - In binary, primes start with 1, and end with 1.

      Not true. 2 is a prime and represented by 10 in binary.

    81. Re:Other bases? by DeadCatX2 · · Score: 1

      That's called a Mersenne Prime. (2^n) - 1.

      Note that 2^n would be a 1 followed by several zeros. Subtract one from this number, and you would have a series of all ones.

      For instance, 3 = 11b. 7 = 111b. 31 = 11111b. 127 = 1111111b.

      --
      :(){ :|:& };:
    82. Re:Other bases? by YenTheFirst · · Score: 1

      That confused me at first, too. I believe the parent is referring just to prime numbers in base 2.

      --
      It's not stupid. It's Advanced.
    83. Re:Other bases? by Anonymous Coward · · Score: 0

      All I know is that nobody makes jokes in base-13.

    84. Re:Other bases? by Sir_Lewk · · Score: 1

      Code this have cryptographical uses?"

      Freudian slip much? ;)

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    85. Re:Other bases? by Anonymous Coward · · Score: 0

      no.

    86. Re:Other bases? by Anonymous Coward · · Score: 1, Funny

      Oh, yea, sorry 9/11, but I'm with 7/9 now.. bye.

    87. Re:Other bases? by Anonymous Coward · · Score: 0

      Note: These are the Mersenne primes

    88. Re:Other bases? by w0mprat · · Score: 1

      Only base-10 are belong to us

      --
      After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
    89. Re:Other bases? by Anonymous Coward · · Score: 5, Funny

      I will never understand how people do that. You have the link right there. Even if you didn't open it to make sure, the link itself mentions the name "Mersenne Prime", and yet you write Mercene.

    90. Re:Other bases? by spartacus_prime · · Score: 5, Funny

      You have no chance to survive make your prime.

      --
      If you can read this, it means that I bothered to log in.
    91. Re:Other bases? by rubycodez · · Score: 1

      ah, I see, mis-read and came away with opposite meaning. then was sitting there thinking, hmmm, lot of exceptions before the 11 digit mark 8D I've always wondered if there should be an exception for 2, saying it's NOT prime

    92. Re:Other bases? by Anonymous Coward · · Score: 0

      More mathematicians would argue that mathematical objects are objectively real.

    93. Re:Other bases? by Eil · · Score: 1

      So mathematics is the study of numbers as much as computer science is the study of computers as much as biology is the study of microscopes?

      (Sorry, couldn't resist parodying this particular Slashdotism.)

    94. Re:Other bases? by UnknownSoldier · · Score: 1

      Yup, that the one [obvious] exception, hence the reason I didn't mention it.

    95. Re:Other bases? by Tinctorius · · Score: 1

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1.

      ...and all but two would end with 1 as well.

      Let me fix that for you.

    96. Re:Other bases? by Anonymous Coward · · Score: 4, Funny

      AND end with 1...this must be a conspiracy

    97. Re:Other bases? by Tuoqui · · Score: 1

      It does makes some sense that crypto systems reliant on prime numbers might see a small weakness introduced. I know RSA is reliant on two prime numbers multiplied together.

      If 30% of all primes start with the digit 1 then it might be possible to exploit it somewhat. If you limit your initial search to primes that start with the digit 1 then you apparently cut your search space by about 70%. Odds are one of the two numbers will start with a 1 although it is not out of the realm of possibility that both primes in your key could start with a 9. Once you factor one of the primes the other one is out in the open as well.

      --
      09F911029D74E35BD84156C5635688C0
      +2 Troll is Slashdot's way of saying groupthink is confused
    98. Re:Other bases? by perp · · Score: 1

      But how many would contain all 1s? Answer that, and provide a proof for your answer, and you'll make math history.

      An infinite number. How much was the prize again? :)

      --
      There are two kinds of sysadmins: paranoids and losers. I'm both kinds.
    99. Re:Other bases? by colinrichardday · · Score: 1

      More primes, not more numbers. Also, the numbers 1xxxxx are smaller than the numbers 9xxxxx, so they're more likely to be prime.

    100. Re:Other bases? by Atryn · · Score: 1

      I believe you had to provide a mathematical proof?

      --
      Come play Moral Decay!
    101. Re:Other bases? by Anonymous Coward · · Score: 0

      Code this have cryptographical uses? IANAMOG, but I know primes play a role in many crypto schemes.

      Thuh cryptography in yor kwestchun had me stumpt for a sekund.

    102. Re:Other bases? by mustafap · · Score: 1

      It makes no difference. All your bases, are belong to us.

      --
      Open Source Drum Kit, LPLC deve board - mjhdesigns.com
    103. Re:Other bases? by mustafap · · Score: 1

      >It would be bad with binary. All numbers start with 1's.

      Really? What about NULL?

      --
      Open Source Drum Kit, LPLC deve board - mjhdesigns.com
    104. Re:Other bases? by Anonymous Coward · · Score: 0

      Benson's Law is actually independent of the number base used. It wouldn't be much of a mathematical property if it wasn't. No matter how you convert a number, you will always see the same bias.

      Benson's Law is actually a law firm, but judging from the topic, your post and the fact that it's Bedford ffs, you're probably trying to quote something you know very little about.

    105. Re:Other bases? by Kynde · · Score: 1

      They don't only start with 1. The 100% end with 1

      "There are only 10 kinds of people..."

      I take it that you belong to the one's that don't.

      --
      1 Earth is warming, 2 It's us, 3 it's royally bad, 4 we need to take action NOW
    106. Re:Other bases? by Anonymous Coward · · Score: 0

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1. :-p

      What about Zero you insensitive clod.

    107. Re:Other bases? by Joe+Decker · · Score: 1

      At least forty-six. :)

    108. Re:Other bases? by Flere+Imsaho · · Score: 1

      So what you're really saying is, all your base are belong to benford?

      --
      It gripped her hand gently. 'Regret is for humans,' it said.
    109. Re:Other bases? by Anonymous Coward · · Score: 0

      Maybe the GP is Latvian ("Merseno skaiciai").

    110. Re:Other bases? by masterzora · · Score: 1

      Wait, when did 8 become a prime number? Holy crap!

      --
      Remember, open source is free as in speech, not free as in bear.
    111. Re:Other bases? by Cassini2 · · Score: 1

      I just did it in base-2 and found that 100% of all primes start with the digit 1.

      When converted to 2's complement notation, all of the primes start with the digit 0.

      But that's nothing. When converted to IEEE-Standard Floating Point, the leading 1 disappears!

    112. Re:Other bases? by wealthychef · · Score: 4, Funny

      That starts with an "N", which is not a number.

      --
      Currently hooked on AMP
    113. Re:Other bases? by wealthychef · · Score: 1
      So mathematics is the study of numbers as much as computer science is the study of computers as much as biology is the study of microscopes?

      Where did you come up with that? Nobody said mathematics is the study of numbers. Someone just mentioned that the study of the *representation of numbers* is a valid field. Everybody knows that mathematics is really just a long word for the study of math.

      --
      Currently hooked on AMP
    114. Re:Other bases? by wealthychef · · Score: 0
      and all but one would end with 1 as well

      I don't know why you people keep saying this. Half the numbers end in 1, and half end in 0, I'd say. Anyhow, base 2 is the trivial case. The point is, that in base 3, apparently the number 1 will be the first digit more often than a 2. In base four, same thing but with 3 the least common, etc.

      --
      Currently hooked on AMP
    115. Re:Other bases? by John+Hasler · · Score: 2, Informative

      And sure enough, the formula says that the probability of 1 being the first digit of a binary number is 1.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    116. Re:Other bases? by John+Hasler · · Score: 1

      Try base 2.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    117. Re:Other bases? by IorDMUX · · Score: 1

      The field to which the GP was referring is known as Number Theory, and some of its component studies are most certainly dependent upon the numbers (i.e. base, definition of integer, etc.) that is used.

      --
      >> Standing on head makes smile of frown, but rest of face also upside down.
    118. Re:Other bases? by molecular · · Score: 1

      I'm pretty sure that in base-2 with no zero-padding, 100% will start with 1. :-p

      also, when increasing the base towards infinity, 100% will start with 1.

    119. Re:Other bases? by s-orbital · · Score: 4, Funny

      A friend of mine went to Hawaii last week, and I asked her if she'd ever been to Pearl* Harbor, and she said she'd only seen it from the air.
      I replied, hey, just like the Japanese!

      *That was hard not to type "Perl". I failed at first

      --
      Patent: from Latin patere, to be open
    120. Re:Other bases? by nog_lorp · · Score: 2, Insightful

      That is how it seems now isn't it?

      However, it has never been proven.

    121. Re:Other bases? by mgblst · · Score: 1

      Bad as in Back to the future, meet your older self bad. Universe destroying stuff.

    122. Re:Other bases? by Anonymous Coward · · Score: 0

      You mean anything since last Thursday.

    123. Re:Other bases? by lennier · · Score: 1

      Or like literature is the study of literati.

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
    124. Re:Other bases? by Anonymous Coward · · Score: 0

      All your base are belong to us!

    125. Re:Other bases? by risk+one · · Score: 1

      You should be a journal editor for Elsevier.

    126. Re:Other bases? by Anonymous Coward · · Score: 0

      All your base could belong to Spain.

    127. Re:Other bases? by Anonymous Coward · · Score: 0

      Bad as in "crossing the streams of 2 AC flamewars on Slashdot" bad!

    128. Re:Other bases? by Shark · · Score: 1

      The ending of a number in binary indicates its oddness.

      Why wouldn't it indicate it's evenness?

      --
      Mind the frickin' laser...
    129. Re:Other bases? by Schmorgluck · · Score: 1

      Yeah, I was in doubt that this discovery was useful, too. Here's what was my reasoning, feel free to bash it if necessary: OK, so prime numbers obey Benford's law, doesn't that imply that their distribution is random?

      --
      There's nothing like $HOME
    130. Re:Other bases? by Saberwind · · Score: 1

      1 = 0b1
      I think 1 = 1bN, N >= 1. Sorry. No Obi-wan.

    131. Re:Other bases? by Sparr0 · · Score: 1

      Generally 1 is taken to be the true state, while 0 is false. The last digit of a binary number indicates oddness in that fashion, 1 being "is odd", 0 being "is not odd". Obviously this also effectively indicates evenness, but to label it so would be to defy convention.

    132. Re:Other bases? by jonadab · · Score: 1

      Yes, but math is all about finding patterns and generalizing, so when mathematicians study the representations of numbers, they don't just study the properties of *one* representation. They study what the properties of entire categories of representations (e.g., standard place-value representations with a natural base) have in common. So yeah, I would expect the formula to be at least generalized enough to handle base n, where n is any natural number. I wouldn't be surprised if it also works for non-integer bases, or even complex bases.

      It probably does only work for place-value representations, though. It would be pretty hard to meaningfully generalize such a pattern beyond that.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    133. Re:Other bases? by acheron12 · · Score: 1

      Not limited to binary. Any base k number ending in 0 is a multiple of k (and therefore equal to k, composite, or both).

      --
      there is no god but truth, and reality is its prophet
    134. Re:Other bases? by MiniMike · · Score: 1

      It doesn't get interesting until you get to base 42...

    135. Re:Other bases? by Thing+1 · · Score: 5, Funny

      IAAM.

      Wow, first use of "I am a moron" I've seen in the field!

      Hmm, or it is Mormon?

      --
      I feel fantastic, and I'm still alive.
    136. Re:Other bases? by Anonymous Coward · · Score: 0

      Surely they're both provable by induction - just look at the bits you'd use if you wrote a program to test them in binary. There will, whatever, always be a spare leading 0, and therefore space to repeat the next successful test. Ad infinitum. QED?

    137. Re:Other bases? by Blakey+Rat · · Score: 4, Interesting

      The whole of mathematics is really just a language of form and structure, a system to systematize and decribe structure and forms (relationships are a type of form).

      So... mathematics is the vaguest thing possible?

    138. Re:Other bases? by mrchaotica · · Score: 1

      So... mathematics is the vaguest thing possible?

      Yes.

      (What, is that news to you?!)

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    139. Re:Other bases? by Anonymous Coward · · Score: 1, Funny

      *That was hard not to type "Perl". I failed at first

      I remember that day as if it was yesterday. All of a sudden strange symbols were raining down from the sky. Men were shouting, "warning! warning!", "use strict!" ...

      [this would be funnier if I was actually a Perl guy]

    140. Re:Other bases? by slashqwerty · · Score: 1

      My recollection is that RSA is based on the idea that it is difficult to find the prime factors of a product composed of two large primes. If someone comes up with a way to easily find large primes it may reduce the time required to break RSA. So this discovery could weaken RSA to the extend that the discovery makes it easier to find large primes.

    141. Re:Other bases? by Anonymous Coward · · Score: 0

      [Benford's] Law is actually independent of the number base used.

      Actually, no it isn't. It might still be a logrithmic scale from 0 to n (where you are using base n) but the actual distribution percentages for each number would change depending on n.

    142. Re:Other bases? by Anonymous Coward · · Score: 0

      Brilliant.

    143. Re:Other bases? by Anonymous Coward · · Score: 0

      Benson's Law is actually independent of the number base used. It wouldn't be much of a mathematical property if it wasn't. No matter how you convert a number, you will always see the same bias.

      It's sad that some people don't seem to understand the article is using the decimal system. They would rather compare apples to oranges. There are always a few bad apples.

    144. Re:Other bases? by sshock · · Score: 1

      I wrote a little test program to test all the primes below 1 million and it looks like this:

      Begins with 1: 12.21%
      Begins with 2: 11.64%
      Begins with 3: 11.41%
      Begins with 4: 11.14%
      Begins with 5: 10.97%
      Begins with 6: 10.77%
      Begins with 7: 10.74%
      Begins with 8: 10.60%
      Begins with 9: 10.48%

      So I want to know, where did they get 30% from? Maybe they meant to say 13%.

    145. Re:Other bases? by PiSkyHi · · Score: 1

      The fact that:

      The number of primes between n and n+d is approximately d/ln(n)

      Doesn't prove anything though, it is merely an observation akin to this one.

      I agree with you though about this prime distribution result being not surprising, but I think its more to do with deriving the numbers and their primes into symbols with bases. Some clever work that involves taking off the first digit from this definition will result in Benford's distribution of digit's based upon each numbers fair representation alone.

      The real achievement would be to be show the reason for this distribution without any statistics - the prime distribution is too easy to come by and all associated corollaries by counting.

    146. Re:Other bases? by DavidShor · · Score: 2, Insightful

      You should see Category Theory, "Well, a morphism is when you've got some things, and then you end up with some stuff...."

    147. Re:Other bases? by debatem1 · · Score: 1

      ...and Judaism is the worship of Judas?



      It scares me that some people cannot tell when I am joking.

    148. Re:Other bases? by DavidShor · · Score: 1

      The set of primes that do not end with one has measure zero :p

    149. Re:Other bases? by Anonymous Coward · · Score: 0

      ... *deep breath* ... NERD!

    150. Re:Other bases? by Anonymous Coward · · Score: 0

      Yeah, the Mayans were weeeeeeird.

    151. Re:Other bases? by ben0207 · · Score: 1

      Eh, sort of, I guess....

      --
      cmd-q.co.uk - some sort of stupid fucking internet bullshit
    152. Re:Other bases? by ben0207 · · Score: 1

      Forty-two, more like.

      --
      cmd-q.co.uk - some sort of stupid fucking internet bullshit
    153. Re:Other bases? by sgbett · · Score: 1

      from TFA...

      So a finite interval must be chosen, even if it is not possible to do so completely randomly in a way that satisfies the laws of probability. To overcome this point, the researchers decided to chose several intervals of the shape [1, 10d]; for example, 1-100,000 for d = 5, etc. In these sets, all first digits are equally probable a priori

      you did d=6, try it for increasing values of d and then observe how the pattern changes

      --
      Invaders must die
    154. Re:Other bases? by Thomas+Miconi · · Score: 1

      Some encryption algorithms that were predicted to take forever to crack with today's technology, may in the long run end up taking the logarithm of forever.

      Why was this modded funny? Taking the logarithm of something is enough to take it from "practically forever" to "actually quite feasible".

      The log-10 of 100 is just 2. The log-10 of 1000 is 3. The log-10 of one billion is 9. Etc. Logarithms essentially negate the exponential explosions that are the source of practical impossibilities.

      If someone found a way to logarithmically reduce the cracking time of a given algorithm, this algorithm would become essentially useless.

    155. Re:Other bases? by Anonymous Coward · · Score: 0

      Benson's Law is actually independent of the number base used.

      Or, to put it more mathy:

      "ALL OF YOUR BASES (nah, can't finish it, it just too lame).

    156. Re:Other bases? by Anonymous Coward · · Score: 0

      AND end with 1...this must be a conspiracy

      ...Proving once again that there are 10 types of people that understand binary.

    157. Re:Other bases? by tuck182 · · Score: 1

      Simply laziness, perhaps?

    158. Re:Other bases? by SlashWombat · · Score: 1

      If you read through the link given in the blurb, you will find that it IS independent of the base used!RTFM

    159. Re:Other bases? by Phoghat · · Score: 1

      Other Bases, Other Things. Benford's Law Of Controversy Wikipedia http://en.wikipedia.org/wiki/Benford's_law_of_controversy#Benford.27s_law_of_controversy

      --
      Think of how stupid the average person is, and realize half of them are stupider than that.
    160. Re:Other bases? by Anonymous Coward · · Score: 0

      I would argue that it only went that way after Bourbaki.

    161. Re:Other bases? by Anonymous Coward · · Score: 0

      Isn't that kind of a half-empty-half-full nitpick?

    162. Re:Other bases? by SilentBob0727 · · Score: 1

      Erm, "0b" is a common prefix for binary numbers in many programming languages. GP was not saying "b1" as in "base 1".

      --
      Life would be easier if I had the source code.
    163. Re:Other bases? by Ibag · · Score: 1

      Actually, the result is more that the prime numbers don't obey Benford's law, but obey a generalized version of it having to do with the specifics of the distribution of prime numbers. However, a list of numbers doesn't have to be random to obey Benford's law.

      The reason the discovery isn't useful is because, while there is use in knowing the distribution of the primes, there is little use in knowing the probabilities of the leading digits of primes. The only application I could think of is if someone gave you a list that they claimed to be all the primes up to 10^100, and you wanted a quick sanity check on whether it might be it. Of course, adding 1 to every number would make nothing (but 2) prime and change almost none of the leading digits.

      But in any case, since numbers on income tax statements or stock prices are not required to be prime numbers, and since the leading digit of a number has very little mathematical use, there is little in terms of applications of this observation, mathematical or otherwise.

    164. Re:Other bases? by Ibag · · Score: 1

      I'm afraid I have to disagree with you.

      First, the distribution of the primes is not an observation, it's a proven mathematical fact that took many smart people a long time to fully establish.

      Second, knowing the distribution of the primes has direct applications to things like the security of encryption methods (if large primes were significantly more sparse than they are, then factoring numbers which are the product of two large primes would be much easier than it is).

      But the difference in the distribution of the primes versus the distribution of their leading digits is akin to a shoe manufacturer knowing how many shoes of each size to make versus a shoe manufacturer knowing the distribution of the third digit of the number of atoms in the human foot. Yes, they are both observations of a sort, but only one of them has useful information.

    165. Re:Other bases? by jonnat · · Score: 2, Insightful

      AND end with 1...this must be a conspiracy

      Except for 10, of course.

    166. Re:Other bases? by jonnat · · Score: 1

      Don't bother. That was probably the last one.

    167. Re:Other bases? by Thaelon · · Score: 1

      No, they're not objects. They're linguistic representations of a concept.

      For example, 1 in its most simplistic use represents a single instance of something. You could call it Frselkbif instead of one or 1, but doubling it still results in twice as many, that is, two, 2, or Fluurfmoo. Converting it to a different number base doesn't change anything the count of those somethings, just the representation of their quantity.

      It's just that most of us have agreed to call the number representing a single occurrence of something as "one" or "1", twice as many as "two" or "2" and so on that gives it meaning.

      --

      Question everything

    168. Re:Other bases? by Anonymous Coward · · Score: 0

      Probably the same... 1 most often, 8/10 least often.

    169. Re:Other bases? by Joe+Decker · · Score: 1

      *snicker* ;)

      ( but http://www.mersenne.org/ )

    170. Re:Other bases? by Anonymous Coward · · Score: 0

      No. Math is the most abstract thing possible and the least vague thing possible. In math, even uncertainty is just another number.

    171. Re:Other bases? by pokeyburro · · Score: 1

      Perhaps he was spelling in base P.

      (although that wouldn't explain the "r")
      (or the sole "n" - man, that economy hits everything)
      (okay, this joke fails)

      --
      Lately democracy seems to be based on the skybox, the Happy Meal box, the X-box, and the idiot box.
    172. Re:Other bases? by arth1 · · Score: 1

      It's one of the names most often misspelled for no apparent reason.

      Another one is Tolkien, which quite often becomes Tolkein. Yet no one would ever write Albert Ienstien or Jodei Foster.
      And Stephen Hawking, who as often as not is called Hawkings or Hawkins. Yet again, the same people would not write Carl Sagans or Arthur C. Clarkes.

      Worst of all, is poor Anders Celsius, who frequently has his named misspelled as Centigrade.

    173. Re:Other bases? by drachenstern · · Score: 1

      It seems like the number of primes of the form:
      11 - three
      101 - five
      1001 - nine? But that's not prime...
      10001 - seventeen
      100001 - thirty-three? But that's not prime...

      Are less than the number of binary fields of characteristic 10*1, so it's definitely countable, but seeing as how the algorithm only says "insert more zeros", that the number of insertable zeros is infinite. Therefore, while it's countable (only positives), it's still infinite, so there's no way to know what the count of those numbers is, without exhausting all entropy.

      How is it that obtaining the count on that is an important concept? I can name infinity, and therefore have given you a count, but I still haven't proven anything...

      Or is the question more akin to:

      What is unique about the primes in the set defined by (whose first and last binary bit value is a 1, and all other values in binary are zero), that can be extrapolated to show usefulness to finding other primes?

      Because it seems like the usefulness of that question on the short version is to say that all binary values of the form 1(00)*01 are prime, and all 1(00)*1 are not prime.

      Let's try a few more examples of 1(00)*01, for the sake of completeness:
      100000001 = 257
      10000000001 = 1025 (not prime)
      1000000000001 = 4097 (not prime, try 17)

      So naturally we can see that 1(00)*01 is not sufficient.

      I'm just stymied what having a count of said primes is going to do for us? It seems like the guys doing work on this have figured out that the pattern is (2^2^n)+1 where n>=1 and integer, so I'm not seeing how this is an unanswered question. The range of those is countable, but infinite.

      --
      2^3 * 31 * 647
    174. Re:Other bases? by Anonymous Coward · · Score: 0

      all your base are belong to us

    175. Re:Other bases? by Simetrical · · Score: 1

      It seems like the number of primes of the form: 11 - three 101 - five 1001 - nine? But that's not prime... 10001 - seventeen 100001 - thirty-three? But that's not prime...

      Are less than the number of binary fields of characteristic 10*1, so it's definitely countable

      Um, it's less than the number of integers, so obviously it's countable. I don't know what fields of characteristic 10*1 have to do with anything -- in many cases that won't even make any sense (since 10*1 is usually not prime).

      but seeing as how the algorithm only says "insert more zeros", that the number of insertable zeros is infinite. Therefore, while it's countable (only positives), it's still infinite

      There are obviously infinitely many numbers of the form 2^n + 1. But are there infinitely many primes of that form? That's an open question.

      I'm just stymied what having a count of said primes is going to do for us? It seems like the guys doing work on this have figured out that the pattern is (2^2^n)+1 where n>=1 and integer, so I'm not seeing how this is an unanswered question. The range of those is countable, but infinite.

      Any prime number of the form 2^n + 1 must be of the form 2^2^n + 1, of course. Otherwise, n has an odd factor, so we can write n = m(2k + 1) with m, k > 0, and 2^n + 1 = (2^m)^(2k + 1) + 1 = (2^m + 1)((2^m)^(2k) - (2^m)^(2k - 1) + ... - (2^m) + 1), and neither factor can be equal to 2^n + 1, so it can't be prime.

      But the converse isn't true. A number can be of the form 2^2^n + 1 but composite. In fact, according to Wikipedia, every such number with n > 4 has so far been found to be composite. It's not clear that there are even six Fermat primes, let alone infinitely many. If you could prove that there were infinitely (thus obviously countably) many Fermat primes, that would answer the question of how many there are.

      --
      MediaWiki developer, Total War Center sysadmin
    176. Re:Other bases? by nitroscen · · Score: 1

      Try to imagine all life as we know it stopping instantaneously and every molecule in your body exploding at the speed of light!

    177. Re:Other bases? by khallow · · Score: 1

      So... mathematics is the vaguest thing possible?

      One A.C. wrote:

      No. Math is the most abstract thing possible and the least vague thing possible. In math, even uncertainty is just another number.

      Another A.C. wrote:

      Yes.

      They are both right. A key process in mathematics called "abstraction" is to take a system, pull out interesting features of that system, and then find simpler rule sets (than the original system) that will generate said features. The interesting features have to be defined precisely ("least vague thing possible") and any excess structure or information generally is desired to be as vague as possible. What's interesting is that very often, it is possible to both state in simple terms a complex and interesting set of features and to find one or more sets of absolutely minimum rules that generate these features.

    178. Re:Other bases? by drachenstern · · Score: 1

      I believe you had to provide a mathematical proof?

      Seriously? Ok, here goes. All primes which are comprised of a binary number of the format (1)* {where () denotes an element comprised of one or more characters, and * means to repeat that element 0 or more times} are members of a set of only positive integers. By definition of the set of positive integers only, those numbers are countable. {hint: by definition means not up for debate, right?}

      Therefore, there are two sets of numbers present in our pool of positive integers {called Z}, those which conform to the rule { (1)* } and those which don't. So we'll denote the subsets of the major set as S and N. S is all those elements of (1)* type, and N is everything in Z which is not in S. (Oi, where's LaTeX when you need it? To those who would help me format it, no, I'm using strictly Latin ASCII basic characters)

      Therefore, if everything in Z is countable (based on our previous definition), then some subset of Z is also countable. This can be proven by PMI. Thus, if S is a subset of Z, it is also countable.

      Since the definition of (1)* means a repeating set of 1's, with no upper bound, then we can state that the total number of 1's permissible in the set is unbounded. However, since we know that the number which results from this set is only going to ever be positive (our definition) then we know that the unbounded set is countable. Therefore, the infinite set of numbers in S {which are of the form (1)*} are countable.

      To continue onwards, if the set of numbers in S is itself a restriced subset of S, we can still show that any repeating form of 1's with an unbounded number of 1's is countable but infinite.

      Ok, so about that prize... What's that? It's an expired Gift Cheque for an entry into the NASA naming contest, from the desk of ... Steven Colbert? zOMG, what a waste!

      --
      2^3 * 31 * 647
    179. Re:Other bases? by Anonymous Coward · · Score: 0

      Actually, you've got a good point--there's a duality between generality and structure. Since "math" covers everything we can describe accurately, saying something is "mathematical" conveys almost no information.

    180. Re:Other bases? by degradas · · Score: 1
      IAAM.

      Wow, first use of "I am a moron" I've seen in the field!

      Hmm, or it is Mormon?

      What's the difference?

    181. Re:Other bases? by drachenstern · · Score: 1

      But 4097 is the product of two primes, so that might have some value as well...
      1001 * 11110001 = 1000000000001

      But can't we predict that about binary numbers?
      Lookit 100001 = 33, right? which is 11 * 3, which is 1011 * 11

      Ah, I give up, today is not the day for looking for patterns in binary numbers...

      --
      2^3 * 31 * 647
    182. Re:Other bases? by Anonymous Coward · · Score: 0

      They would still all belong to us.

    183. Re:Other bases? by mcgarrah · · Score: 1

      The whole of mathematics is really just a language of form and structure, a system to systematize and decribe structure and forms (relationships are a type of form).

      So... mathematics is the vaguest thing possible?

      XKCD http://xkcd.com/435/ covered this awhile ago...

    184. Re:Other bases? by Jane+Q.+Public · · Score: 1

      That was my point, but the wording was somewhat tongue-in-cheek.

    185. Re:Other bases? by Atryn · · Score: 1

      Sorry, we may be working from different assumptions here. I wouldn't argue that your set S is unbounded as you have defined it, but the original question was around the set of Primes. I assumed the original "prize" was associated with a proof around how many Primes would consist of all 1's. I may have misunderstood.

      --
      Come play Moral Decay!
    186. Re:Other bases? by Mattcelt · · Score: 2, Funny

      ...unless they're imaginary...

    187. Re:Other bases? by drachenstern · · Score: 1

      Eh, for the 10*1 thing, I didn't [spell|specify] it clearly enough, I meant 1(0)*1 or 11, 101, 1001, 10001, etc in a grammar format.

      As for the counting of the Fermat Primes, I would imagine that since it quit working for after n=4 that that means that it's just a neat trick, but that there's no actual principle involved here.

      And now that I've seen enlightenment of the form [Shut mouth|Stop Thinking], [Read response], [Think!] I've just realized that I went off on a WILD tangent. Yay that I still remember my basics on PMI proofs, but it looks like there is no useful information for the fact that given nAgain, I'm not sure what a complete count gives us, other than to say that we can count those primes. But counting what Fermat Numbers are Primes looks like a non-"useful" thing...

      Now, I'm putting my brain back in [Listen] mode...

      --
      2^3 * 31 * 647
    188. Re:Other bases? by drachenstern · · Score: 1

      Eh, I was playing with a proof, not trying to come up with a competition winner on /., but I would think that since (n,0] is bounded on one end, that it still counts as a bounded set. It can only grow so large. Perhaps I don't know the definition of bounded in relations to PMI. Very likely. According to http://en.wikipedia.org/wiki/Bounded_set I imagine that is the case.

      But the point I was aiming for was that any set of primes, is going to be boundless, therefore infinite, therefore it doesn't matter how you try to count them. We know that they are a countable set (ends at 1 or 0 depending on your notation, I say 1 - therefore countable according to my frosh math classes on the subject) so what we don't know is the total number of such numbers.

      For that, I say that until we know the largest number, we can never get a count for all the numbers between the largest number and (insert value here, be it -[largest number] or 0 or what have you), even though we can define that set of numbers as countable.

      But back to your post, you said that you would argue that my set S is bounded rather than my assumption of unbounded. For that I ask what's the largest number in S? Granted, that makes my proof seem to crumble, as I discussed above, but so if S is bounded then we definitely know that it has a countable number of elements. We can also show that we can always add 1 to the front or end of any base 2 number and have a larger number.

      And I have no clue what the original question was, I started the discussion somewhere around the middle and started reading. Such is the Walk Of Shame on /. discussions, to come in in the middle and then have to admit that you don't know what the original question was. I was just going off the GGP, which said that the count was infinite.

      I would think that any proof of the count of the number of primes would be refinable to a proof on the count of primes which only exist of 1's in a base 2 counting system. That's what I was aiming for above. So it doesn't matter what base or which set of primes, but that all sets of "all primes of manner x" should be uncountable. Unless we're talking about a specifically limited subset, such as the Fermat Primes I got served on above. (Dang you /. poster, RTFM before thinking... arghhh!)

      But I am more interested in seeing people's responses today, not so much on the thinking aspect atm... I can tell it's time for lunch now... ciao

      --
      2^3 * 31 * 647
    189. Re:Other bases? by treeves · · Score: 1

      I thought N could be any number, like FOR X = 1 to N....

      --
      ...the future crusty old bastards are already drinking the Kool-Aid.
    190. Re:Other bases? by snowgirl · · Score: 1

      The whole of mathematics is really just a language of form and structure, a system to systematize and decribe structure and forms (relationships are a type of form).

      So... mathematics is the vaguest thing possible?

      http://xkcd.com/435/

      Yes, yes it is. In fact, Set Theory is the most general of all things. It's composed of nothing, and sets thereof.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    191. Re:Other bases? by snowgirl · · Score: 1

      The whole of mathematics is really just a language of form and structure, a system to systematize and decribe structure and forms (relationships are a type of form).

      So... mathematics is the vaguest thing possible?

      XKCD http://xkcd.com/435/ covered this awhile ago...

      AH!!!!!!! YOU BEAT ME... jerk!

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    192. Re:Other bases? by HTH+NE1 · · Score: 1

      And sure enough, the formula says that the probability of 1 being the first digit of a binary number is 1.

      Only because the number being 0 is mathematically insignificant.

      Well, that and numbers like 0.1 in base 2 (0.5 in decimal) aren't considered. Include the fractional numbers [0-1) and it becomes a 50% probability again.

      Include all the negative binary numbers and it's 33 1/3% (the third candidate is "-").

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
    193. Re:Other bases? by Anonymous Coward · · Score: 0

      IAAM.

      Wow, first use of "I am a moron" I've seen in the field!

      Hmm, or it is Mormon?

      What's the difference?

      Oh, wow.

      I am a hard man to reach. Cannot find me in Seattle and no terminal is in operation at my classified address.

    194. Re:Other bases? by Repton · · Score: 1

      No, That starts with a T. Although it's still not a number (unless you're working in base 30).

      --
      Repton.
      They say that only an experienced wizard can do the tengu shuffle.
    195. Re:Other bases? by Anonymous Coward · · Score: 0

      IAAM.

      Wow, first use of "I am a moron" I've seen in the field!

      Hmm, or it is Mormon?

      What's the difference?

    196. Re:Other bases? by Anonymous Coward · · Score: 0

      (fuse blown)

    197. Re:Other bases? by Simetrical · · Score: 1

      Eh, for the 10*1 thing, I didn't [spell|specify] it clearly enough, I meant 1(0)*1 or 11, 101, 1001, 10001, etc in a grammar format.

      I know that. I still don't get what you were saying.

      As for the counting of the Fermat Primes, I would imagine that since it quit working for after n=4 that that means that it's just a neat trick, but that there's no actual principle involved here.

      Quite possibly, but nobody knows how to prove it. (It's the first five, by the way. 2^2^0 + 1 = 3 counts as a Fermat prime.)

      I'm not sure what a complete count gives us, other than to say that we can count those primes. But counting what Fermat Numbers are Primes looks like a non-"useful" thing...

      The same could be said of all pure mathematics, or all basic research generally. You never know where developments will lead. The entire field of number theory was assumed to be useless for centuries, until it suddenly became the cornerstone of computer cryptography. If we put enough work into interesting problems, our greater understanding of the subject matter has a tendency to lead us to practical uses sooner or later that weren't obvious at the outset.

      At least some percentage of the time. What do I care if it's useful to anyone else, it's fun, and at least I get paid for it. :)

      --
      MediaWiki developer, Total War Center sysadmin
    198. Re:Other bases? by Anonymous Coward · · Score: 0

      Benford's Law applies to all number bases.

    199. Re:Other bases? by Anonymous Coward · · Score: 0

      So... mathematics is the vaguest thing possible?

      More like the maximally specific description of vagueness.

    200. Re:Other bases? by jesset77 · · Score: 1

      Bedford's law applies to a number represented in fixed point scientific notation, not counting the arithmetic sign of the number.

      So binary 0.1 would be rendered 1 x 2^-1, and it would still start with a 1.

      With numbers <0, you would ignore the sign and they would still start with a 1.

      The only true binary counterexample is 0.

      FWIW I do get the joke, no WHOOSH, but TFA is a joke. It should have been printed in the onion.

      Following Benford's law is a natural result of any number series which approaches logarithmic uniformity, so no information can be derived from this "revelation" save what we already knew: prime numbers approach uniformity on a logarithmic scale. Put another way, arbitrarily chosen ranges of numbers contain a roughly "predictable" number of primes, and the larger range you choose the less force predictive error has on the outcome compared to the size of your range.

      Thus it is inexorable that primes will follow Benford's law: in base 10, many more of them start with 1 than with other digits. The bias lies with the numbering system itself, not with the roughly even distribution of prime numbers.

      --
      People willing to trade their freedom of expression for temporary entertainment deserve neither and will lose both.
    201. Re:Other bases? by Anonymous Coward · · Score: 0

      Unless you're in base 23...

  2. 9999991 by Anonymous Coward · · Score: 0

    Explain 9999991 then. :P

    1. Re:9999991 by Aranykai · · Score: 4, Insightful

      Explain one man being hit seven times with lightning. http://en.wikipedia.org/wiki/Roy_Sullivan
      Improbable doesn't mean impossible.

      --
      If sharing a song makes you a pirate, what do I have to share to be a ninja?
    2. Re:9999991 by Anonymous Coward · · Score: 0

      Well it is 9 shy of 10,000,000. See 9999991+9= 10,000,000.

    3. Re:9999991 by anss123 · · Score: 2, Interesting

      Explain one man being hit seven times with lightning. http://en.wikipedia.org/wiki/Roy_Sullivan

      Poor bastard. After the fourth! time he began carrying a pitcher of water with him... I find it hard not to be amused.

    4. Re:9999991 by kylemonger · · Score: 1

      Explain one man being hit seven times with lightning.

      Easy. He lied about the last six strikes.

    5. Re:9999991 by RudeIota · · Score: 1

      According to National Geographic's Flash Facts About Lightning, the odds of being struck in a lifetime is three-thousand to one.

      That sounds surprisingly likely... but I'm inclined to think he was lying.

      I mean, doesn't lightning heat the surrounding air enough to melt sand into glass? We're talking thousands of degrees here. How could someone survive that ONCE, let alone 6 more times?

      --
      Fact: Everything I say is fiction.
    6. Re:9999991 by Anonymous Coward · · Score: 0

      Easy. He lied about the last six strikes.

      Actually, he lied about the first six strikes. Then, just to mess with him, the universe hit him for real...

    7. Re:9999991 by routerl · · Score: 1

      That's an anomaly. Sullivan clearly refused Zeus' advances, and we all know how vindictive that bastard can be.

      --
      Trust me, kids; don't drink and post.
    8. Re:9999991 by BeanThere · · Score: 2, Interesting

      Or (to put very crudely in layman-like terms): In a world where billions of things happen every single day, "1 in a million" events happen all the time.

    9. Re:9999991 by khallow · · Score: 1

      My take is that he probably lied about the last five and gave it up when the media stopped paying attention to him.

    10. Re:9999991 by Aranykai · · Score: 1

      It doesn't heat the air enough, but it will melt sand where the bolt itself travels through it. A human is also a much better conductor than sand, which IIRC means theres going to be less heat produced.

      --
      If sharing a song makes you a pirate, what do I have to share to be a ninja?
    11. Re:9999991 by Anonymous Coward · · Score: 0

      No. Lightning melts sand that it conducts through. Sand has high resistance and humans have a relatively low resistance, so the sand gets way more watts than the human, and more watts makes it hotter.

    12. Re:9999991 by Sparr0 · · Score: 1

      This same phenomenon applies to the physics demonstrations by which a man's arm can be covered in water then dipped in molten lead, or a droplet of liquid nitrogen can roll around in the palm of your hand, both completely safe if performed carefully. Massive temperature gradients can exist in very small spaces, and as long as you are on the safe side of that gradient, no matter how narrow it is, you will be OK. Sure, the air might be a million degrees 1mm from your skin, but if the air touching your skin is 100 degrees then you will just feel slightly warm.

    13. Re:9999991 by SteveTauber · · Score: 1

      Given enough time, improbable becomes eventual.

    14. Re:9999991 by osu-neko · · Score: 1

      "One in a million chances crop up nine times out of ten."

      --
      "Convictions are more dangerous enemies of truth than lies."
    15. Re:9999991 by BaldingByMicrosoft · · Score: 2, Insightful

      Quite the story. More tragic to me is that a man can survive all that, but was done in by unrequited love... I suppose I'd rather be struck by lightning myself.

    16. Re:9999991 by John+Hasler · · Score: 1

      Most people who believe that they were struck by lightning were actually only near a lightning strike and got zapped by induction or step potential. The chances of surviving an actual strike are very poor.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    17. Re:9999991 by Anonymous Coward · · Score: 0

      Explain 9999991 then. :P

      They are six 9 algarisms followed by a 1 algarism. It reads as "nine million, nine hundred ninety nine thousand nine hundred ninety one". If it is taken as a quantity, it is a very large number. If compared to national debt, it is very small.

      Understood?

    18. Re:9999991 by owlstead · · Score: 1

      Yep, the trick is to be sure it is exactly a once in a million chance (borrowed shamelessly from Terry Pratchett, of course).

    19. Re:9999991 by Anonymous Coward · · Score: 0

      That's a fine argument for destiny!

    20. Re:9999991 by RudeIota · · Score: 1

      It is still difficult for me to imagine something as energetic as a lightning bolt not burning a human being to a crisp on the basis that they are reasonably conductive... But very interesting. Thank you for the gem.

      --
      Fact: Everything I say is fiction.
  3. 9 not too common? by pdxp · · Score: 1

    with 9 appearing the least often

    Maybe they didn't count high enough? I wouldn't blame them, I get tired of computing primes by 7...

    1. Re:9 not too common? by doti · · Score: 4, Funny

      that makes my /. id even more impressive :)

      --
      factor 966971: 966971
    2. Re:9 not too common? by pdxp · · Score: 1

      I'm jealous... mine is off by 1!

    3. Re:9 not too common? by Stratocastr · · Score: 0

      try beating mine..

      --
      Slashdot - I went there to fix their grammar that they're so bad at.
    4. Re:9 not too common? by Anonymous Coward · · Score: 0

      They already have, especially in this thread; theirs is prime.

  4. Duh by Anonymous Coward · · Score: 3, Insightful

    Benford's "law" is not a law at all... any exponential distribution will exhibit this behavior.

    1. Re:Duh by Anonymous Coward · · Score: 2, Funny

      You're right! I'm writing to my congress asking them to repeal Benford's Law.

    2. Re:Duh by jstott · · Score: 2, Insightful

      Benford's "law" is not a law at all... any exponential distribution will exhibit this behavior.

      A law, as the word is commonly used in math and physics, is a mathematical expression of a universal relationship. As you say, Benson's law is a property of any exponential distribution, so we agree it's universal. Why then can't we call it a law? Just because it's obvious after you understand it doesn't make it any less a law.

      -JS

      --
      Vanity of vanities, all is vanity...
    3. Re:Duh by Anonymous Coward · · Score: 0

      You already have a precedent

    4. Re:Duh by Anonymous Coward · · Score: 0

      Benford's "law" is not a law at all...

      I guess it depends on the jurisdiction.

    5. Re:Duh by Livius · · Score: 1

      Gauss figured out the logarithmic distribution of primes about two hundred years ago, so the leading digit will have the logarithmic distribution described.

      Now, the *proof* might well be some interesting mathematics, but the result is not new, just expressed differently.

    6. Re:Duh by Anonymous Coward · · Score: 1, Insightful

      As you say, Benson's law is a property of any exponential distribution, so we agree it's universal. Why then can't we call it a law?

      What is Benson's law, is that a law saying that any exponential distribution is distributed exponentially?

      Benford's Law says that "in lists of numbers from many real-life sources of data, the leading digit is distributed in a specific, non-uniform way". That word "many" means it's not universal, so it's not a law.

    7. Re:Duh by The+Slashdot+8Ball · · Score: 1
      Logarithmic distribution of numbers is entirely independent from logarithmic distribution of leading digits. The former statement is the property that the whole sequence grows logarithmically when viewed over a large interval. The latter statement is looking at small slices (the interval [10^(n-1),10^n) ) and saying that on each interval the distribution is approximately logarithmic.
      The former is a macroscopic property telling us how the sequence grows. The latter is concerned with the fine detail on particular intervals.
      • Logarithmic distribution of leading digits does not imply logarithmic growth of the sequence.

      Using words:
      We can imagine a sequence with logarithmic distribution of leading digits with sufficient elements that the entire sequence grows rapidly (i.e. larger than logarithmic growth)

      An example:
      Let's choose a sequence so that we use all of the numbers with leading digit 1, plus some other elements. We won't specify the rest of the elements (as it would unnecessarily hide what's going on) as the important thing is the distribution of leading digits, and the total quantity of numbers.
      Now for n digit numbers (i.e. those in the range [10^{n},10^{n+1}) ), we've already chosen all of the numbers with leading digit 1. It is clearly possible to select the remaining n digit numbers so that the distribution of leading digits is logarithmic (take about half as many numbers starting with 2 etc.) Now, for n digit numbers, there are 10^(n-1) numbers with initial digit 1. With the logarithmic distribution of leading digits, these make up about 30% (http://en.wikipedia.org/wiki/Benford's_law) of the total selected n digit numbers, meaning that we've chosen an approximate total of 10^(n-1)/30*100 =1/3*10^n, n digit numbers.

      This gives us the growth of our sequence as the number of digits increases, but we want the growth of the sequence as the number of numbers increases. But as there are x=10^n-10^(n-1) n digit numbers, the number of digits, n grows like n=log(x)-1 (engineer's log).

      Consequently the number of numbers in our sequence grows like 1/3*10^((log x)-1)=(1/30)*x, which is linear growth.

      Hence, we have logarithmic distribution of the leading digits, but linear growth of the sequence. So logarithmic distribution of leading digits doesn't imply logarithmic growth of the sequence.

      This, of course, wasn't the parent's claim, but is interesting (and relevant nonetheless).

      The parent's claim is negation of the following, (which has an easy proof):

      • Logarithmic growth of the sequence does not imply logarithmic distribution of the leading digits

      Using words:
      We can have a sequence that grows logarithmically but on the small intervals [10^n,10^n+1), has any distribution we like.

      An example:
      {9,99,999,9999,99999,...}
      We take 1 element for each number of digits. The number of digits grows like log(x), therefore our sequence grows like log(x) - it has logarithmic growth. The distribution of the leading digits is left as an exercise for the reader (hint - it's not logarithmic).

      Finally, let's not forget that the primes do not grow logarithmically, they grow sub-linearly O(n*log(n)), so the above doesn't apply directly to TFA.

    8. Re:Duh by haruchai · · Score: 1

      Why does Benford get credit for this but not Simon Newcomb?

      --
      Pain is merely failure leaving the body
    9. Re:Duh by GargamelSpaceman · · Score: 1

      But you have to admit that knowing this bit of trivia will be helpful in committing any future fraud more convincingly. Now I know to make sure that if I am trying to fabricate data for something that grows exponentially, that I should make sure the data exhibits Benford's law. I don't think I would have bothered before reading this article.

      Well, on to part a fool from their money..

      --
      ...
  5. Like batting orders by sam_handelman · · Score: 3, Interesting

    I'm not a mathematician, could someone explain why this is surprising in terms that a computer programmer or biologist could follow? First thing I thought - no matter how many innings you have, you can guarantee that the top of the order will be up at least as many times as the bottom of the order.

      Okay, if you have a random number along the interval (1,10^X), all the leading digits will be equally likely.

      If you have some other interval (1,n*10^X), 1<=n<=9, then the leading digits > n will appear roughly 1/10 as often as leading digits 1..n.

      If you have a large sample which is drawn from an admixture of some huge number of random distributions (1,n*10^X), with the "n" of each sub-distribution evenly distributed on 1..9, then the lower leading digits will be moderately more common, yeah?

      Prime numbers, meanwhile, become decreasingly common as you get larger and larger, is that not correct? So it seems to me this is the obvious way to model prime numbers, no?

    --
    The good and new comes from no quarter where it is looked for, and is always something different from what is expected.
    1. Re:Like batting orders by ReallyNiceGuy · · Score: 2, Interesting
    2. Re:Like batting orders by Anonymous Coward · · Score: 0

      It's not surprising that in some finite interval, say [1,10^d], the first digit of primes are more frequently 1 than 9 for the reasons you've given. The interesting result here is that these mathematicians have characterized how the distribution of the first digit approaches uniformity as d approaches infinity.

    3. Re:Like batting orders by Cold+hard+reality · · Score: 1

      Okay, if you have a random number along the interval (1,10^X), all the leading digits will be equally likely.

      No. In the interval [1, 100], 12 numbers start with 1. The digits 2..9 lead 11 times each. 0 never shows up.

    4. Re:Like batting orders by p!ngu · · Score: 1

      terms that a computer programmer or biologist could follow


      no

    5. Re:Like batting orders by m50d · · Score: 1
      I'm not a mathematician, could someone explain why this is surprising in terms that a computer programmer or biologist could follow?

      It's not at all surprising; it just means the primes behave a bit like random numbers, which we've already been showing in far more interesting ways (e.g. Ben Green's recent result that there are arbitrarily long arithmetic progressions (sequences of equally-spaced numbers) in the primes). I'd be amazed if this is actually a new result.

      --
      I am trolling
  6. Optimus Prime by Anonymous Coward · · Score: 0

    Where does Optimus Prime fit in?

  7. Stock market analysis? by MSTCrow5429 · · Score: 4, Interesting

    I am admittedly not a mathematician, but I do have a good understanding of economics and finance, and I am not seeing how a pattern found in prime numbers could have any application to stock market analysis. Where is the interaction between prime numbers and the praxeology of buying and selling securities? Even if you're only focusing on automated buying and selling, those algorithms were still programmed by humans with their own subjective approaches and underlying premises.

    --
    Slashdot: Playing Favorites Since 1997
    1. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      Large primes are used for encryption schemes, authentications, and other applications, but I agree with you that there doesn't seem to be an application of this knowledge to finance. There isn't any way to make a mathematical model of the stock market without invoking the "rational consumer" as a component. Since participants are not rational, no amount of theory will make up for the goofiness of their behaviour. It isn't even random.

    2. Re:Stock market analysis? by wjh31 · · Score: 1

      it makes more sense to me if you read that benfords law had applications in stock markets, fraud etc, but that isnt news...

    3. Re:Stock market analysis? by thedohman · · Score: 1

      Where is the interaction between prime numbers and the praxeology of buying and selling securities?

      Primes don't have anything to do with Stock Market analysis.

      From the article (ha! I didn't read it, I just skimmed it, but it's not think with maths), what the researchers found, using primes, is a generalization of Benford's Law. It's this Generalized Benford's Law that can be used in Analysis.

      In addition, many applications that have been developed for Benford's law could eventually be generalized to the wider context of the Generalized Benford's law. One such application is fraud detection: while naturally generated data obey Benford's law, randomly guessed (fraudulent) data do not, in general.

      (OK, so the article doesn't mention stock market except for the part that is quoted in the summary, but better fraud detection would play a part in stock market analysis, yes?)

    4. Re:Stock market analysis? by maxume · · Score: 2, Informative

      Benford's law can be used to detect fraud (the article states this, I don't have any reason to doubt it). They studied primes and found a pattern that is associated with a related property that they are calling Generalized Benford's Law. Presumably, the generalized rule can be used to detect a wider range of unnatural activity than Benford's law itself.

      --
      Nerd rage is the funniest rage.
    5. Re:Stock market analysis? by Rayban · · Score: 4, Funny

      I've always wondering how I could figure out when someone was trying to pass off a list of fraudulent primes. Glad to see that this problem is finally solved!

      --
      æeee!
    6. Re:Stock market analysis? by maraist · · Score: 1

      Read the articles. This is pretty cool stuff. There's a hundred+ year old model called Benford's Law (BL), and more recently, seemingly originated via the study of prime, a generalization (GBL). Lots of data-sets apparently have a log-scale even probability distribution instead of a uniform probability distribution or bell-shaped-curve probability distribution. Things that grow exponentially have a log-scale even distribution (the articles give several examples). And thus the BL applies (the leading 1 occurs more than 2, than 3, etc, in all bases). This is useful for fraud-detection. Namely if you know BL distributions should apply, but you are handed numbers by a potentially fraudulent vendor. Simply test for BL. Granted, a careful fraudulent vendor would randomize their fraudulent data by BL instead of uniform distribution. But if the vendor can't control the data set (say there is a stock market intermediary that is in a position to sell stock that doesn't exist, even if only on a small scale), then it is the aggregate sales would reveal such an anomaly.

      What GBL does is open up the statistical model so it applies to more data-sets that were previously considered without a pattern. Prime numbers are an example. And the key was that it was scale-dependent. An infinite number of prime numbers has an even distribution of leading digits. But smaller data-sets DID express BL distributions. GBL applies by using the scale of the data-set. And that scale factor is the new component in GBL.

      --
      -Michael
    7. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      I don't think this really has any serious application to trading or picking stocks. Benford's law (BL) just talks about the distribution of numerical data (prices). The only application for BL in the stock market that i know of, is that the difference between 10 and 20 is 100% while 90 and 100 is only 11% so you'd expect many more stocks 10-20. BL applying to primes shouldn't add too much insight to the stock market.

      However, most investors already be think in percentages/logarithms instead of nominally, so BL just becomes a curious fact.

    8. Re:Stock market analysis? by rackserverdeals · · Score: 4, Funny

      I am admittedly not a mathematician, but I do have a good understanding of economics and finance, and I am not seeing how a pattern found in prime numbers could have any application to stock market analysis. Where is the interaction between prime numbers and the praxeology of buying and selling securities?

      By understanding the patterns in prime numbers you can learn to spot them and avoid the sub-prime mortgage backed securities. Duh.

      --
      Dual Opteron < $600
    9. Re:Stock market analysis? by arth1 · · Score: 4, Interesting

      I've always wondering how I could figure out when someone was trying to pass off a list of fraudulent primes. Glad to see that this problem is finally solved!

      You're jesting, but I imagine that many fields of encryption would benefit from this, like dual key encryption, where the security lies in the ability to trust that the product really is of two primes, and that factoring this would be extremely time consuming.

      Sets with a backdoor inserted may indeed have a different signature, and to be able to quickly see that one set differs would be invaluable. It wouldn't prove anything, but if, say, keys received from a certain company's key generator stood out like a sore thumb in a Benford distribution check, you would have reason to suspect foul play, incompetence or both.

    10. Re:Stock market analysis? by JustOK · · Score: 1

      Now you can start looking for typos in the digits of pi

      --
      rewriting history since 2109
    11. Re:Stock market analysis? by maxume · · Score: 2, Interesting

      "I have poor reading comprehension" isn't that great of a joke.

      If you really didn't figure it out yet (I suspect you actually have), the ability to detect a pattern that should occur in natural data but probably will not be present in fraudulent data (a sophisticated fraudster can generate to any test...) is what makes it interesting for detecting fraud, not the fact that the pattern was first elucidated from prime numbers.

      --
      Nerd rage is the funniest rage.
    12. Re:Stock market analysis? by blitzkrieg3 · · Score: 1

      Even if you're only focusing on automated buying and selling, those algorithms were still programmed by humans with their own subjective approaches and underlying premises.

      Even these humans with their subjective approaches sometimes create stock prices that follow Benford's law. Presumably analysits already use information like this to pick apart a certian stock price from a set of stocks, or to pick apart a stock's history. It is these anamolies that are interesting.

      What they found is that even some sets that do not strictly follow the first version of Benford's law (such as primes) do follow another more generalized version of Benford's law. If it could be shown that stock prices follow this version of the law, it could have wide reaching implications.

    13. Re:Stock market analysis? by PPH · · Score: 1

      The primes themselves probably don't help with market analysis. But Benford's Law, or the generalized form of BL could be helpful in detecting anomolies in prices. Not just the fraud detection application, but traders are notorious for fixating on certain prices over others (why the DJIA at 10,000 should be more newsworthy than at 9950, for example).

      I can see numerous applications of Benford's Law of controversyin areas of financial analysis.

      --
      Have gnu, will travel.
    14. Re:Stock market analysis? by Tony+Hoyle · · Score: 1

      It also makes it interesting for generating fraudulent data that looks natural.

    15. Re:Stock market analysis? by jstott · · Score: 1

      Benson's law crops in things like tax fraud where people are making up numbers instead of using actual costs (for example, increasing the reported purchase price of some shares of stock so as to decrease your capital gains). Humans usually tend to pick too few 1's and too many 9', and this is something a statistical analysis can pick up. It's not proof of fraud, of course, but it's enough to flag a return for further human inspection.

      I would expect any stock market fraud that's based on fraudulent accounting (think Enron) might be flagged by a comparison against Benson's law as well.

      -JS

      --
      Vanity of vanities, all is vanity...
    16. Re:Stock market analysis? by maxume · · Score: 1

      I agree with you so much that I said something to that effect in the comment you replied to.

      --
      Nerd rage is the funniest rage.
    17. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      From what I've read and understood in the article, the Benford Law applies to many series of numbers that occur naturally (say for instance in an economy), and any violations of this natural order through injecting artificial (fraudulent financial claims for instance) fail to uphold Benford's law.

      The article mentions this, but they are just mentioning what Benford's law is useful for, not what the results of the prime number study are useful for.

    18. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      Not quite. Human created figures turn out to be non-random.

    19. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      The pattern you are missing is that researchers *always* say their research can help solve the biggest problem on the radar.

      What they never say is to what degree.

    20. Re:Stock market analysis? by julesh · · Score: 1

      I am admittedly not a mathematician, but I do have a good understanding of economics and finance, and I am not seeing how a pattern found in prime numbers could have any application to stock market analysis.

      The fact that the pattern has been found in prime numbers is irrelevant to this; the interesting fact is that the pattern should also turn up in any sequence of numbers generated by multiplying the previous number in the sequence by a randomly-generated number that is on average proportional to the previous number raised to the power of some constant. Stock market prices are known to follow a distribution very much like this (where the constant is close to, but not exactly one). This is an improvement on Benford's Law, currently used in stock market analysis, which is equivalent to this new distribution except with the constant set to one. Being able to tweak the constant slightly might provide some slightly improved analyses.

    21. Re:Stock market analysis? by Anonymous Coward · · Score: 0

      You are correct: the existence of a pattern in the primes, while interesting, doesn't have many obvious applications. However, the type of pattern found may have applications. The pattern they found is a generalization of Benford's law, which is already used to detect made-up numbers; many real-world number sets (e.g., financial/population data) follow this law, faked numbers will tend not to.

      Thus, a generalization of Benford's law may be able to apply this technique to a larger class of datasets. I personally don't think this is likely, as my impression is that Benford's law applies to pretty much everything already, and this is just a journalist's attempt to make a pure math story relevant to the real world. But hey, I don't know everything either.

    22. Re:Stock market analysis? by Eil · · Score: 1

      Where is the interaction between prime numbers and the praxeology of buying and selling securities?

      The interaction is: if you find a relationship between pi and the behavior of the stock market, you will eventually wind up drilling a hole in your head. (source)

    23. Re:Stock market analysis? by silver007 · · Score: 1

      It has as much to do with stock market analysis as any T/A method does. It is simply another perspective to include in one's T/A efforts. Any statistical theory is useful in T/A; its success depending on how it's used, just like any indicator. No offence, but I take it you're a 'fundy' trader. ;)

    24. Re:Stock market analysis? by obliv!on · · Score: 1

      See here:
      http://science.slashdot.org/comments.pl?sid=1228259&cid=27897059

      Bedford's law is used in fraud detection. Its generalization might allow for more abstractive detection tools to comb through more general data and find evidence of other fabricated results.

  8. Re:Why do people study "math" in college? by drinkypoo · · Score: 1

    When she was done I wondered if she was going to be unemployed in a few years, because I could not see how her knowledge had any application in the real world.

    Your anecdote does not contain any interesting information. What was her "esoteric math" about?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  9. The real article, and what it does and doesn't say by jonaskoelker · · Score: 2, Informative

    You can find the mathematicians' article at http://www.citeulike.org/group/3214/article/3664693 or http://arxiv.org/pdf/0811.3302 (pdf warning).

    I find it interesting that the article doesn't prove any theorems. At least searching for the word "theorem" in the pdf only gives references to other theorems. Searching for "proof" gives no hits.

    That leaves me thinking: what does this article tell us that we couldn't find out ourselves by ripping through some prime numbers? I thought the real power of math was to say something 100% certain about some infinitude of stuff, so we don't have to go and check every case by hand.

    Oh well, I guess every open question needs some results on the form "this holds for all n <= bignum"; say, like the Goldbach Conjecture (every even number n > 2 is the sum of two primes).

  10. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    http://xkcd.com/435/
    That and the fact higher math can be quite beautiful.

  11. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 4, Funny

    The real question is did his feigned interest result in sexual intercourse?

  12. Cryptography? by PolygamousRanchKid+ · · Score: 5, Funny

    Could this have any applications there?

    "Well, I wasn't expecting The Spanish Mathematician . . ."

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    1. Re:Cryptography? by MRe_nl · · Score: 4, Funny

      Our two main powers are insight into the nature of primes, fraud detection
      and stock market analysis.
      I'll come in again...

      --
      "Kill 'em all and let Root sort 'em out"
    2. Re:Cryptography? by Anonymous Coward · · Score: 0

      It might have an application to key generation, but not directly based on most algorithms used to generate keys. (PGP generates prime numbers which all begin with binary 11. I wonder if there's a pattern to the third binary digit. Probably there is, with more 0s than 1s, but it's probably not that significant.)

    3. Re:Cryptography? by Kal+Zekdor · · Score: 1

      Could this have any applications there?

      While public key cryptography does use a prime number in order to generate a shared secret key, this prime number is transmitted openly and assumed to be known by all attackers. Diffie-Hellman key exchange

      The security of the protocol comes from the difficulty of solving the discrete logarithm problem, which has nothing to do with the prediction of prime numbers.

      I'm unsure if your question was about the security of current cryptography (i.e. hacking), or development of new, more secure, cryptography algorithms. In the second case, the ability to help predict primes may help reduce the computing cost of encryption, if not decryption, though I doubt it will lead to any additional security.

      A disclaimer, I am a computer programmer, but I have only a passing familiarity with the mathematics of cryptography.

    4. Re:Cryptography? by godrik · · Score: 1

      Disclaimer : I am not really into cryptography. My understanding of mathematics behind is mainly superficial

      You are right for the Diffie-Hellman protocol. But other protocol such as RSA (used in SSH) rely on factorization. The public knowledge is a integer N=pq where p and q are big prime numbers so that it is difficult to find p and q from the only knowledge of N.

      Currently the factorization is a difficult problem (however we have no proof of its computational difficulty). Any advance in the prime number knowledge could lead to better factorization algorithm. Most of prime number generation techniques are probabilistic, they do not guarantee that the p and q you generated are primes. They ensure this property with high probability.

      A better understanding of the "pattern" of prime number could lead to better probabilistic factorization algorithm as well as better random number generation algorithm.

      Is there a mathematician around that can enlight us ?

    5. Re:Cryptography? by osu-neko · · Score: 1

      ... the ability to help predict primes may help reduce the computing cost of encryption, if not decryption, though I doubt it will lead to any additional security.

      Your statement is true, but a complete non-sequitur. The GP asked if the research mentioned in the article would have any applications to cryptography. Since the research in the article has nothing to do with predicting primes, your statement is in no way an answer to the question.

      The short answer to the GP's question is, "No."

      --
      "Convictions are more dangerous enemies of truth than lies."
    6. Re:Cryptography? by osu-neko · · Score: 1

      A better understanding of the "pattern" of prime number could lead to better probabilistic factorization algorithm as well as better random number generation algorithm.

      No, not really, at least not in this case. This, after all, did not discover any sort of pattern in prime numbers, it generalized an observation relevant to the pattern of their distribution. So, it might help you make a better prediction of how many primes you'll see in a given range (although, actually not, since we already knew that), it won't in any way help you generate or detect individual primes.

      (Again, the news here is that the study of primes helped us develop a generalization of Benford's law. We've learned precisely zero new things about prime numbers, prime numbers have just taught us something new about mathematics.)

      --
      "Convictions are more dangerous enemies of truth than lies."
    7. Re:Cryptography? by Kal+Zekdor · · Score: 1

      ...the research in the article has nothing to do with predicting primes...

      The article states that a new pattern was found in prime numbers. A pattern by it's nature is a predicting element, if you know the pattern, you can determine it's elements. In this case, it's the first digit of prime numbers. According to the article, about 30% of primes start with the number 1, while about 5% start with 9. Therefore if you are trying generate a prime number, you are six times more likely to do so if the number you choose starts with a 1, than with a 9. The article is a direct application of the generation of prime numbers.

    8. Re:Cryptography? by molecular · · Score: 1

      Could this have any applications there?

      of course: when looking to factor some number n = p * q (with p and q being primes) in order to crack some rsa key, this finding might well help in organizing (prioritizing) your search-space more efficiently and thus speed up the cracking.

    9. Re:Cryptography? by Anonymous Coward · · Score: 0

      NO ONE expects the Spanish Mathematician!
      [img]http://upload.wikimedia.org/wikipedia/en/1/10/Spanish_Inquisition_(Monty_Python).jpg[/img]

  13. Re:Why do people study "math" in college? by wjh31 · · Score: 4, Insightful

    hello troll, your inability to understand mathematics does not mean it has no real world application. her little project may well have been able to provide the basis for some ecomonic or social model, or may proove vital in unlocking the bit of physics that enables the next revolution in technology. Besides all these very important uses that skip the average joe, mathematics is often elegant and beautiful, and may be considered a form of art by some people

  14. Good for them by l00sr · · Score: 4, Funny

    Nobody expects the Spanish Mathematicians!

    1. Re:Good for them by JustOK · · Score: 1

      with their fanatical devotion to the Prime?

      --
      rewriting history since 2109
    2. Re:Good for them by Anonymous Coward · · Score: 0

      Nobody expects the Spanish Mathematicians!

      They must have a difficult mother-child relationship.

    3. Re:Good for them by Ridgecity · · Score: 1

      wanna bet these guys found this out while cracking porn sites?

  15. Isn't this obvious? by Anonymous Coward · · Score: 1, Informative

    TFA does provide many details, but I believe everyone doing maths is taught that the number of primes before some number n is approached by n/ln n ( http://en.wikipedia.org/wiki/Prime_counting_function). This has been known for more that a century.

    As specified by this formula, the prime density decreases, so it seems obvious that if one considers all primes with a set number of digits, fewer start with a nine than with a one.

    Maybe I'm missing something but this does not seem to provide any new information or new pattern.

    1. Re:Isn't this obvious? by osu-neko · · Score: 1

      If you're looking for what this taught us about prime numbers that we didn't already know, you're barking up the wrong tree. We've learned precisely nothing we didn't already know about prime numbers.

      What's new here is what we've learned about Benford's law.

      --
      "Convictions are more dangerous enemies of truth than lies."
  16. Re:Why do people study "math" in college? by MikeUW · · Score: 3, Insightful

    Perhaps she was wondering the same about you as you walked away looking dumbfounded.

    Just because something is complicated and difficult for most people to grasp doesn't mean it hasn't got some real-world application at some point. That's why we need people like her to make sense of that sort of stuff, to the benefit of the rest of us.

  17. Re:Why do people study "math" in college? by Nihixul · · Score: 1

    "Top * Lists" aren't necessarily unassailable data, but mathematicians, statisticians, and actuaries can do pretty well.

  18. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    A *lot* of physics would not be possible without mathematics, a lot of chemistry and 'engineering' would not be possible without physics...get it?

    Besides it's a beautiful occupation that show truly beautiful things and brings great understanding, it's also very good for learning how to think properly which I really miss in a lot of 'non mathematicians'. (sure they have a lot of knowledge, but they still think in goofed up ways)

  19. This is news? by Anonymous Coward · · Score: 0

    This... should not come as a surprise to anyone. We all know primes occur less often as you go higher, which makes sense by the definition of a prime. So there are going to be more primes between 1000 and 2000 than between 2000 and 3000, and so on. Meaning the leading digit will be a 1 more often than a 2, a 2 more often than a 3, etc.

  20. stupid question by Anonymous Coward · · Score: 0

    I hope this is more than just the bias you'd expect from the Prime Number Theorem, a corollary of which is that the population of primes decreases exponentially with N.

    In each "decade" (10*p.. 10*(p+1)-1, for positive integer p), digits with leading digit 1 come first, and digits with leading digit 9 come last.
    For example, with p=2 the numbers (100..199) are in the first group, while (900..999) are in the last group. So you would expect the group with leading digit 1 to have, on average, more primes than the group with leading digit 9.

    Rinse and repeat for every decade with that same Prime Number Theorem bias.

    Just as in an ideal NFL draft with uniformly competent general managers and no trades, the team picking first in each round is supposed to have a better draft than the team picking last in each round. (Of course, in real life we have the Detroit Lions).

  21. On the density of prime numbers by jonaskoelker · · Score: 4, Insightful

    Prime numbers, meanwhile, become decreasingly common as you get larger and larger, is that not correct?

    Yes, that is correct. There are roughly logarithmically many of them.

    Bertrand's Conjecture (proven by Chebyshev) states than for all n > 1, there's a prime p with n < p < 2n.

    If you look only at powers of two, it's readily seen that there are n primes between 1 and 2^n; setting k=2^n, there are log(k) primes between 1 and k.

    A logarithmic upper bound follows from the Prime Number Theorem, which doesn't have an easy proof (AFAIK). It says something much more specific than just "It's O(log n)", though. Maybe there's a simple theorem from which you can derive O(log n), but I don't know.

    1. Re:On the density of prime numbers by jonaskoelker · · Score: 4, Informative

      Maybe if I had read the prime number theorem, I would have known that it's O(n / log n), which is somewhat bigger...

    2. Re:On the density of prime numbers by Anonymous Coward · · Score: 0

      Okay, so what about the second digit? Wouldn't that follow a pattern as well, though less pronounced?

    3. Re:On the density of prime numbers by Opyros · · Score: 1

      Chebyshev did give a proof of O(n/log n) which is considerably simpler than that of the full prime number theorem; however, it's still not "simple" by most standards. It can be found in, e.g., Hardy & Wright's An Introduction to the Theory of Numbers.

  22. Plenty of reasons people study math by sirwired · · Score: 4, Insightful

    A few examples:

    For the same reason some people take Philosophy, Ancient Literature, Paleontology, etc. Because they think the subject is cool, and aren't necessarily at school to learn a trade. (Indeed, Engineering students that are paying attention also discover they aren't directly being taught a trade either. Or at least they aren't in any Engineering college worthy of the name.)

    They want to become an actuary. This is a fairly well-paid job that is also rather difficult to do, and even harder to do well.

    They want to become math teachers; a valuable and much-needed profession. Math is a useful tool in teaching students how to think. We certainly don't torture legions of high school students with the details of conic sections because anybody is under the impression this is a directly practical skill for most citizens to have. Nor are hundreds of thousands of college students subjected to the horrors of calculus because of some kind of employment program for math post-docs.

    They are double-majors in a field in which math is extremely important (physics, astronomy, computer science, every type of engineering, linguistics, medicine, biology, etc. Pretty much every field outside the humanities. Oh, and some of the humanities make extensive use of math too.)

    SirWired

    1. Re:Plenty of reasons people study math by Anonymous Coward · · Score: 0

      As a Math&CS major who recently took a government (political science) course, I can assure you that at least statistics is very important. My professor seemed to understand them pretty well, but a few of the papers we read showed a complete lack of understanding of statistics by failing to control on the proper variables. This comes out to more misunderstandings of scientific experimental design, but also not understanding the mathematical tools being used.

    2. Re:Plenty of reasons people study math by failedlogic · · Score: 1

      I'm a recent grad and only wish I had pursued math more seriously in high school and university. There's a bit of a joy of understanding it easily, but it also makes reading subjects where some math is involved much easier. I didn't take any courses from any math departments, I did however learn statistics and used math for lab experiments, reports and so on.

      I understand the principles of calculus but I'll never be able to do the work to fight my way out of a paper bag. Yes - I've borrowed and read the famed Apostol book as best I could from the local library .... still not enlightened. I've found a love for matrices, logic, (thought process of) algorightms (in programming), physics, chemistry, and some algebra and geometry. I know that if I open up most university (college) text books past the 1000-level undergrad courses its likely going to use calculus.

      Any suggestions?

  23. Breaking news!!! by mykelyk · · Score: 1

    Prime numbers follow a logarithmic curve!!

    Film at 11.

    Old?

    1. Re:Breaking news!!! by julesh · · Score: 1

      Prime numbers follow a logarithmic curve!!

      Film at 11.

      Old?

      What's new is the derivation of the distribution of first digits of values on such curves, of which prime numbers are far from the only one.

    2. Re:Breaking news!!! by Anonymous Coward · · Score: 0

      Yeah, like you knew that. Another fucking slashdot know-it-all.

  24. What the arXiv paper says by Anonymous Coward · · Score: 2, Informative

    Before I begin, I am a math phd candidate, but not in number theory. The following is probably better than a lay interpretation, but not an expert either.

    Basically, they have generalized BL (Benson's Law) to get a GBL. They then tested the primes in the range [1,10^11] against GBL, and verified they were satisfied. They DID NOT PROVE THIS HOLDS FOR ALL PRIMES!!! They then went on to conjecture the applications of this to other areas (finance, etc).

    Though the result is interesting, I really see this paper as a conjecture on the nature of primes, related to the Riemann zeta function. (From what I understand someone has proved zeros of the zeta function follow GBL.)

  25. Re:The real article, and what it does and doesn't by quarrel · · Score: 3, Insightful

    > That leaves me thinking: what does this article tell us that we couldn't find out ourselves by ripping through some prime numbers?

    Nothing?

    The important thing is that they ripped through some prime numbers and did notice, and they were the first to publish what they noticed.

    The world moves forward in tiny steps like this. Maybe the next mathematician gets his 'Ahuh' moment on the back of an insight like this and bang modern crypto is fucked. He might even be able to prove it for you.

    --Q

  26. Stat Foop by oldhack · · Score: 1

    Yeah, it only looks like that because started finding primes from 1 up. If we started finding them from infinity down...

    --
    Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  27. Re:The real article, and what it does and doesn't by product+byproduct · · Score: 1

    Their experimental result is a trivial consequence of the fact that prime number density around n is about 1/log(n). One could work out the exact theoretical distribution in one paragraph and that'd be all. I guess the authors are either ignorant or they prefer to market their result as "mysterious". Probably both.

  28. Re:The real article, and what it does and doesn't by vesuvana · · Score: 1

    Harsh critic--the article doesn't boast about solving theorems or offering 100% certain proofs. It is sufficient to bring to greater notice that this pattern, which had gone unnoticed, has now been noticed. Maybe someone will do something further with it. Sooner or later it's likely that this piece of information will get incorporated into something economically useful. But for now, as pure science, noticing the pattern that had not been noticed before is good enough for publication.

  29. Is public key encryption affected? by mmell · · Score: 1

    Could this be the beginnings of a non-quantum solution to, say, the problem of factoring large numbers? Not a solution itself, but the beginnings of a method for breaking RSA without resorting to the use of q-bits et. al.?

    1. Re:Is public key encryption affected? by russotto · · Score: 1

      Could this be the beginnings of a non-quantum solution to, say, the problem of factoring large numbers? Not a solution itself, but the beginnings of a method for breaking RSA without resorting to the use of q-bits et. al.?

      Probably not. It's an interesting result, but it's not specific to prime numbers. Rather, it applies to all sets whose density is related to 1/log n.

  30. I never heard such nonsense by Anonymous Coward · · Score: 0

    I call BS, why would primes care what they look like in base10? And how could something like this be equally true for different base notations at the same time, which is what the Wikipedia article claims. I mean does this really apply equally to base 2 binary and base 9?

    And a quick glance at the wikipedia list of sequences that are supposed to follow this "Benfords law" shows a lot of areas where the unit of measurement can be chosen somewhat arbitrarily and where humans pick the numbers:

    This counter-intuitive result has been found to apply to a wide variety of data sets, including electricity bills

    People might irrationally be more likely to say what 100 Kwh? Time to start saving energy. And there might be all sorts of discounts/ tax incentives that kick in at a 100 something per something.

    street addresses,

    Sounds like house numbers to me, again something entirely under the control of humans and their peculiar preferences for certain base 10 numbers. Though I kind of expect the lack of thirteenth floors to mess up this example.

    stock prices,

    I am not gonna bother debating whether there a bunches of stock traders who use chicken entrails when deciding when to buy and sell at a time when almost everyone worries that the chicken entail guys might be the more rational ones on the major financial markets.

    Of course if humans have to set millions of the prices at which they will trade per day they some of them will go for round numbers and might favor a leading one. We would be loucky if that was the worst thing stock traders did.

    population numbers,

    Interesting for countries, not for populations for which its easier to decide to invest in and move into and out of like cities. Of course humans if over time millions of people have to make the decision to I migrate into/out of and invest into a town then people will say 95.000 inhabitants? too small to invest/stay, 100.000? thats just big enough.

    death rates,

    deaths per what?

    lengths of rivers,

    Well how many big rivers are there anyway? I will concede this as a coincidence with the note that that might be some unit of measurement preferences going on.

    physical and mathematical constants,

    that are not named and might have been cherry picked.

    and processes described by power laws (which are very common in nature).

    which, if I understand the "Benford distribution" correctly, is somewhat of a circular argument.

    I think I will stick to using prime based crypto for now.

    1. Re:I never heard such nonsense by osu-neko · · Score: 1

      I call BS, why would primes care what they look like in base10?

      They don't.

      And how could something like this be equally true for different base notations at the same time, which is what the Wikipedia article claims.

      Quite easily, when you're talking about first digit distributions (and we are), which is basically saying lower magnitude numbers are more frequent than higher magnitude ones. This would (to most people, not you obviously but to most other people) be obviously not influenced by what base you choose to use in expressing the numbers. If lower magnitude numbers are more common than higher magnitude ones, this is simply true regardless of base, so no matter what base you pick, lower magnitude first digits will be more common, and indeed in this case, the distribution of their commonality will vary logarithmically across the digits, regardless of how many of them there are in the base you have chosen, because that's a feature of the set of numbers, not an artifact of their expression.

      I mean does this really apply equally to base 2 binary and base 9?

      Yes, although base 2 is the degenerate case (all prime numbers start with 1, which is trivial but does satisfy the law).

      which, if I understand the "Benford distribution" correctly, is somewhat of a circular argument.

      Sort of. To the extent that in any analytic theorem, the truth of the conclusion is essentially contained in the premises, you're just teasing out and making plain what was already there. This is true of all mathematical theorems. That's what makes it analytic rather than synthetic (empirical).

      I think I will stick to using prime based crypto for now.

      Of course, why wouldn't you? Nothing in the article has any implications for cryptography.

      --
      "Convictions are more dangerous enemies of truth than lies."
  31. Re:The real article, and what it does and doesn't by anomalous+cohort · · Score: 1

    OK, not the most exciting science story of all time. Perhaps Carl Sagan either implanted or discovered a potential capacity for fascination with the science of primes in his novel "Contact" where a large sequence of prime numbers is used as an attempt by extra terrestrials to communicate with humanity.

  32. Quite obvious, this one by gweihir · · Score: 1

    On the other hand, in binary it will be 1 in all cases. Time for a new law? I don't think so...

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  33. Isn't this really obvious? by ThatsLoseNotLoose · · Score: 1

    Isn't this just a consequence of prime numbers getting sparser as you climb higher?

    i.e, there are 135 primes between 1000 and 2000, and there are 127 between 2000 and 3000.

    1. Re:Isn't this really obvious? by JustOK · · Score: 1

      its a mathematical description of "getting sparser"

      --
      rewriting history since 2109
    2. Re:Isn't this really obvious? by Daimanta · · Score: 1

      There are 95 primes between 30000 and 31000 and there are 98 primes between 70000 and 71000 so that isn't always the case.

      --
      Knowledge is power. Knowledge shared is power lost.
    3. Re:Isn't this really obvious? by osu-neko · · Score: 1

      Right. The usefulness of a statistical observation varies with the size of the set being looked at. For smaller sets, it becomes less useful (ultimately being not noticeably better a predictor than tea leaves for small enough sets). You'll find it much more difficult to find exceptions in ranges of a hundred thousand than in ranges of a thousand (although more easily if you head higher up the number line -- basically, to find exceptions, you need to use ranges that are relatively small compared to the size of the numbers themselves).

      --
      "Convictions are more dangerous enemies of truth than lies."
  34. If you're dealing with phone numbers by Ralph+Spoilsport · · Score: 5, Interesting
    It has less to do with math and more to do wit physics: as in how to use a an old school phone. Phone numbers, until comparatively recently would "prefer" lower numbers because they are EASIER TO DIAL. If a company had the phone number (909)999-9009 you would HATE dialing that thing. It would take about half a minute just to dial the damn number.

    Ssssshhhhhhik!
    diggadiggadiggadiggadiggadiggadiggadiggadigga!

    Total pain in the finger.

    1 as a first number was reserved for "other stuff" like international calls, so the lowest possible area codes (first numbers) went to places like New York City (212 - very quick to dial) or LA (213) because millions of people would be dialing that number, so it made for an overall faster dialing experience for (on average) more people.

    This is compared to the relatively few people who lived in more obscure parts of the country, like Saginaw MI (989) or Bryan TX (979).

    So, you have millions of phones in 212, thousands in 979. The result: saved effort in dialing.

    Also, to this end there was a preference for exchanges to have lower numbers as well to save on dialing effort, and phone numbers with lower (but NON-ZERO) values were sought after. You'd see advertisments like "Call RotoRooter - 213 464 1111 !" or "Call us NOW for a free analysis! 201 738 1122 !" etc. and so on.

    So, lower numbers in phone numbers have been a product of primitive dialing technology. Now with touchtone - all that is out the window - but the historic trend is still there and quite powerful - people will pay good money for a 212 area code for the distinction of being in the "real" New York Area code...

    RS

    --
    Shoes for Industry. Shoes for the Dead.
    1. Re:If you're dealing with phone numbers by Sir_Lewk · · Score: 2, Insightful

      Where are my mod points when I need them, that's pretty damned interesting.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    2. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      I liked my 917 area code more.

    3. Re:If you're dealing with phone numbers by egcagrac0 · · Score: 2, Interesting

      Also sped up switching time on old style exchanges, right? The ten position relays at the CO that had to mechanically advance for each digga and were probably no fun to replace...

    4. Re:If you're dealing with phone numbers by jmp_nyc · · Score: 5, Informative

      While you're absolutely right about the reasoning behind NYC, LA, and Chicago getting 212, 213, and 312, you're a little off on the 989 and 979 area codes, which are much more recent.

      In the original system design, all area codes had a middle digit of 0 or 1. The convention was that a middle digit of 1 was used for area codes that only covered part of a state, while a middle digit of 0 was used for area codes that covered entire states. Furthermore, an area code could not begin with a 1 or a 0. and an area code with a middle digit of 1 couldn't have 1 as the third digit. (This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.)

      As early as the late 1950s, the idea of single area codes for some states went out the window (with NJ splitting into 201 and 609 in 1958) because of increasing population and proliferation of phone service.

      By the late 1980s, the rules were further changed to allow for area codes with middle digits other than 1 or 0. Area codes like 989 and 979 weren't introduced until the late 1980s at the very earliest, by which point very few people were still using rotary phones. At one point, I had heard that the middle digit value of 9 was reserved for the future to allow for four digit area codes, but I can't vouch for the accuracy of that recollection. There are plenty of other rules, some of which you can see summarized here...
      -JMP

    5. Re:If you're dealing with phone numbers by Ralph+Spoilsport · · Score: 1
      I forgot about that - you are correct. And the middle digit of 1 was more prized than zero, hence NYC 212 vs. NJ with 201. I just picked 989 and 979 etc. because I knew they were "in the boonies" and I knew that "more "boonie-ish" state got more difficult dialing area codes (viz Utah with 801).

      Thanks for the clarification.

      best,

      RS

      --
      Shoes for Industry. Shoes for the Dead.
    6. Re:If you're dealing with phone numbers by arth1 · · Score: 1

      Also, this is the reason why large parts of the world has 112 and 113 as general emergency numbers, while Canada and the US (who adopted the Canadian system) has 911.
      For real emergencies, every second counts, and with a large number of emergencies, chances are that even though no single emergency can be identified as the added second making a difference, in aggregate, there will be lives lost by choosing 911 over 112.

      Interestingly, the first three-digit emergency number was 999, in London, and it was picked precisely because it was so hard to dial. The thought was (possibly incorrectly) that it would reduce the number of calls that weren't "real" emergencies.

      These days, it matters less, although it's arguably slightly easier to dial 112 blindly, or if you can't move your fingers well. Thankfully, all(?) GSM cell phone operators will redirect 112 to 911 or whatever the local emergency number is, so if traveling, try 112 first.

    7. Re:If you're dealing with phone numbers by jstott · · Score: 3, Informative

      So, you have millions of phones in 212, thousands in 979. The result: saved effort in dialing.

      Nice idea, but you give the phone company too much credit. In the old days telephone switches still used physical relays (this is well before transistors were invented). This significantly limited the number of connections in progress each switch could handle. Since switches are expensive, you naturally wanted to pass on the call as fast as possible so you could free up the switch for the next caller. A number like '212' wasn't just easy to dial, it was fast — remember this is the era of pulse dialing as well, so a '9' took literally 9 times longer to dial than a '1'. Assigning fast numbers like '212' to New York saved money for the phone company because Ma Bell could buy fewer switches. Any benefit to the customer was purely accidental.

      -JS

      --
      Vanity of vanities, all is vanity...
    8. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.

      Bzzt. 212 is much faster to dial compared to 201. A zero is dialed as ten on a pulse phone.

    9. Re:If you're dealing with phone numbers by Bromskloss · · Score: 1

      In Sweden, the emergency telephone number was previously 90000, 0 being the longest digit and 9 being the next longest (at least on Swedish rotary dials).

      --
      Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    10. Re:If you're dealing with phone numbers by cheros · · Score: 1

      I don't buy that 100%, sorry. We tend to number from 1..9, so any situation involving numbers will always see a higher distribution at the beginning of the numbering scheme.

      Few start from 9 AFAIK.

      --
      Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
    11. Re:If you're dealing with phone numbers by Hurricane78 · · Score: 1

      Absoluterly. What do you thing, that clicking sound came from, when you used a phone where you had the loudspeaker at your ear while dialing? :)
      I loved to look at them. Huge pillars of golden discs, rotating against each other. Very cool golden look. If I would put columns in my building, I would use those things. :)

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    12. Re:If you're dealing with phone numbers by osu-neko · · Score: 1

      Also, this is the reason why large parts of the world has 112 and 113 as general emergency numbers, while Canada and the US (who adopted the Canadian system) has 911.

      Yeah, most of the was still using the older style dialing, but touch-tone was becoming the norm in the US by the time 911 was rolled out, so it wasn't as much of a concern.

      --
      "Convictions are more dangerous enemies of truth than lies."
    13. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      Total pain in the finger.

      Shouldn't that be a "total pain around the finger"...

    14. Re:If you're dealing with phone numbers by thegarbageman · · Score: 1

      So maybe we should make our telephone systems encrypted and our phone numbers could be our public keys. Then distribute the phone numbers according to population density and Benford's Law.

      --
      "I propose we leave math to the machines and go play outside." - Calvin
    15. Re:If you're dealing with phone numbers by nuckfuts · · Score: 1

      > This left the shortest dial time area code for a statewide code as 201..

      Have you ever actually seen a rotary phone? Dialing "0" is the slowest digit of all. It's placed after the "9".

    16. Re:If you're dealing with phone numbers by Eil · · Score: 1

      This is compared to the relatively few people who lived in more obscure parts of the country, like Saginaw MI (989) or Bryan TX (979).

      989 wasn't added to Michigan until about 10 years ago, when most rotary phones were finally phased out. When I was growing up, most of MI was 517. There was a time when the middle digit of all area codes was only either 1 or 0 (0 indicated an area code applicable to an entire state, such as 505 in New Mexico while area codes with 1 in the middle were given to a state that needed multiple area codes such as 517, 313, and 616 in Michigan), but they had to move away from that in order to give new area codes to expanding regions. This was about the time they started requiring customers to dial area codes when placing a long-distance call within the same area code, because the older switching equipment used the "0 or 1" feature to tell whether a long distance call was to be routed within an area code or outside it.

      (I am not a telecom engineer, so take this with a grain of salt.)

    17. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      > This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.
      Um, not really. The 0 takes ages to dial, even longer than a 9. 212 would be much faster, and 222 might be even better cos you don't have to move your finger :)

    18. Re:If you're dealing with phone numbers by drmofe · · Score: 1

      Another reason that 999 was selected for the British emergency number was because all rotary dial phones in the UK had a metal bar at the last digit. Therefore, in the dark or blinded, you could find the bar, move your finger to the left and you would know that you had the 9.

      Also, any analogue line in the UK should be able to make emergency calls, regardless if the line is active (i.e. tied to an account). This is supposedly the case in New Zealand and Australia as well

      Of course, if your particular emergency involved the loss of fingers, you were pretty much screwed with rotary dial phones

    19. Re:If you're dealing with phone numbers by JSG · · Score: 1

      Interestingly, the first three-digit emergency number was 999, in London, and it was picked precisely because it was so hard to dial. The thought was (possibly incorrectly) that it would reduce the number of calls that weren't "real" emergencies.

      On the other hand there is one three digit number you can dial on a rotary phone when you can't see it.

      I suggest that the real reason 999 was chosen was it allows the blind or a seeing person who is temporarily blinded by darkness or smoke or whatever to dial the emergency services.

    20. Re:If you're dealing with phone numbers by adavies42 · · Score: 1

      even 909 and 919 were impossible under the original system, which could only handle a limited number of pulse-dialing "clicks". (wikipedia says 21, but i'm wondering if that's a typo for 11--all the examples they give (south dakota 605, PEI 902, etc.) add to 11, not 21, which would have been completely unreachable anyway as 9+1+9=19.)

      alaska's 907 and hawaii's 808 presumably figure into this somehow, but they don't appear on the list of original area codes i found, possibly because they weren't states yet.

      --
      Media that can be recorded and distributed can be recorded and distributed.
      -kfg
    21. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      (This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.)

      212 has a shorter dial time than 201, 0 being the digit that took the most time to dial...

    22. Re:If you're dealing with phone numbers by Anonymous Coward · · Score: 0

      (This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.)

      Actually, the 0 comes after the 9 on a rotary dial, so 201 would take a bit longer than 212 (which I think is actually the shortest dial time area code).

    23. Re:If you're dealing with phone numbers by Blakey+Rat · · Score: 1

      (This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.)

      0 takes forever to dial. It's past 9 on a rotary phone. 212 would be three times faster to dial. You fail rotary phone-ology.

    24. Re:If you're dealing with phone numbers by louiswins · · Score: 1
      All you guys saying he got it wrong because 0 takes more time to dial than 1, did you even bother reading what he said?

      The convention was that a middle digit of 1 was used for area codes that only covered part of a state, while a middle digit of 0 was used for area codes that covered entire states ... (This left the shortest dial time area code for a statewide code as 201, which went to New Jersey.)

      Since it's a statewide code, it's forced to have a 0 in the middle digit, and since 1 can't be the first digit, 201 is indeed the smallest statewide area code.

    25. Re:If you're dealing with phone numbers by Orne · · Score: 1

      The 0 digit appears after 9, so it counts as a 10, and makes a sound of 10 ticks.

      If having 0 mean 0 rotary ticks, how would the system ever know that you moved the rotary?

    26. Re:If you're dealing with phone numbers by adavies42 · · Score: 1

      d'oh. of course....

      --
      Media that can be recorded and distributed can be recorded and distributed.
      -kfg
    27. Re:If you're dealing with phone numbers by mwigmani · · Score: 1

      > This left the shortest dial time area code for a statewide code as 201..

      Have you ever actually seen a rotary phone? Dialing "0" is the slowest digit of all. It's placed after the "9".

      Keep in mind that he said that statewide area codes (ie. area codes that every phone number in the state used) had to have 0 as the middle digit. So while 201 wouldn't be faster to dial than 212, it is the fastest statewide area code (since 1 wasn't available as the first digit).

    28. Re:If you're dealing with phone numbers by waferbuster · · Score: 1

      Phone numbers may behave this way, but prices always tend to prefer 9's and 5's. Granted there may be leading 1's (in fact, that's quite popular), but the ending numbers... 9's or 5's. Not including shipping and handling, call now.

      --
      I'm an individual! Just like everyone else!
    29. Re:If you're dealing with phone numbers by Nevyn · · Score: 1

      Yeah, most of the was still using the older style dialing, but touch-tone was becoming the norm in the US by the time 911 was rolled out, so it wasn't as much of a concern.

      I don't think so, a quick google produces how stuff works which says 911 service started in the late 1960s. I don't think the US had tone dial anywhere near that early.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    30. Re:If you're dealing with phone numbers by arth1 · · Score: 1

      On the other hand there is one three digit number you can dial on a rotary phone when you can't see it.

      Except that it's the [b]zero[/b] that's at the end, not nine. Arguably, 1 is easier to find.

      And, of course, with pulse based dialling, you don't even need to touch the dial to call 111.
      (Hint: Tap the hook)

    31. Re:If you're dealing with phone numbers by arth1 · · Score: 1

      Another reason that 999 was selected for the British emergency number was because all rotary dial phones in the UK had a metal bar at the last digit. Therefore, in the dark or blinded, you could find the bar, move your finger to the left and you would know that you had the 9.

      Except that if you moved your finger to the left to the first hole, you would dial 000. And presumably get a switchboard operator lady with a nasal twang, who hopefully would be able to connect you to an emergency dispatcher.

      Here's an image of a British phone for reference.

    32. Re:If you're dealing with phone numbers by owlstead · · Score: 1

      Of course, the emergency phone number is now now 112 as anywhere in the EU (and in many countries with GSM, apparently). This is nice and logical. What's less logical is that my voicemail is 1233 which is almost but not quite 1123, which is the emergency phone number plus a 3.

      http://en.wikipedia.org/wiki/1-1-2

      But that's a thoroughly illogical number 90000. Probably the only one that was easy to implement at that stage.

    33. Re:If you're dealing with phone numbers by againjj · · Score: 1

      You didn't mention the reason behind the no leading 0 or 1 in area codes. This was because dialing 1-ccc-xxx-nnnn only happened if it was a long distance number; otherwise you dialed ccc-xxx-nnnn. Similarly, you dialed 1-xxx-nnnn if it was long distance but in the same area code. Thus, you couldn't have the area code starting with 0 or 1 since then it would be confused with dialing the operator or making a long distance call. This rule had to be changed to the current "dial 1 before all 10 digit numbers, long distance or not, and never at any other time" before the new area codes could be put into place. This is also why exchanges never had 0 or 1 as a second digit for so long -- they would be confused with area codes.

  35. Is this surprising? by RobinH · · Score: 1

    It's already obvious that as you increase in size, the primes are further apart (because there are more and more lower numbers that are potential factors).

    So given any range of numbers from (10^x) to (10^(x+1)), wouldn't you expect that the density of primes in the bottom end of that range would be higher than at the top end?

    I don't know, it just seems obvious. It's an artifact of using a base 10 number system.

    Now if you used binary, you wouldn't see this effect. That is, a range from (2^x) to (2^(x+1)) all "start" with the digit 1. Also, if you used a base-infinity number system (where every number has it's own symbol then you also wouldn't see this effect because the maximum number of possible primes in any given "leading digit category" is effectively 1.

    --
    "I have never let my schooling interfere with my education." - Mark Twain
    1. Re:Is this surprising? by Anonymous Coward · · Score: 0

      Did you and all the other idiots saying this actually read the article (or even the summary for that matter)?

      Of course the density of primes decreases as you go to bigger and bigger numbers. What these people actually did was to give a precise quantitative description of the distribution of leading digits.

      And it's not an artifact of the base 10 system, either, since the analogous result would still hold in any other base. Yes, it even holds (albeit vacuously) in base 2 because the leading digits of primes follows the distribution you'd expect when the set of possible digits is {1}. And the idea of a "base-infinity number system" is nonsense anyway as far as these ideas are concerned.

    2. Re:Is this surprising? by osu-neko · · Score: 2, Interesting

      I don't know, it just seems obvious.

      Um, yeah, when you summarize, you omit details (by definition). When the details you omit are the interesting details, what you're left with is indeed obvious and uninteresting.

      It's long been known that primes are more common on the low end. The interesting detail is the mathematical relationship between the actual amounts that end up in the various bins if you divide the range and count them up in each bin. Knowing there will be more in the lower bins doesn't tell you this, it just says there will be more in the lower bins. Benford's law tells you about how many (proportionally) will be in each bin. And it's not in any way an artifict of using a base 10 number system, the relationship remains true regardless of how many bins you use (10, 16, 8, whatever).

      --
      "Convictions are more dangerous enemies of truth than lies."
  36. Independent Verification by eldavojohn · · Score: 5, Interesting
    Here's what I got on my own counts using the first million primes:

    1: 415441
    2: 77025
    3: 75290
    4: 74114
    5: 72951
    6: 72257
    7: 71564
    8: 71038
    9: 70320

    Which puts the probabilities at:

    1: 0.415441
    2: 0.077025
    3: 0.07529
    4: 0.074114
    5: 0.072951
    6: 0.072257
    7: 0.071564
    8: 0.071038
    9: 0.07032

    My computer is currently crunching the first fifty million primes and I will post those as a reply to this post later today when it is done.

    These ratios on numbers 2-9 seem far too close in range for this to be a true log scale. Hopefully with more data it will be more logarithmic.

    --
    My work here is dung.
    1. Re:Independent Verification by Daimanta · · Score: 4, Funny

      This is one of those moments that I love /.
      Personally, I was trying to calculate the first 50M primes using the sieve of Erastothenes and then contructing a program that categorizes them but since you are doing all the work I say go ahead and I'll wait for the results.

      --
      Knowledge is power. Knowledge shared is power lost.
    2. Re:Independent Verification by Anonymous Coward · · Score: 1, Insightful

      The ratio will have a huge amount to do with where you stop. Stop with a prime starting with 1, like you did, and the 1 "probability" will be very high. Stop with a prime starting with 2 and things will be different.

      I find it very hard to believe these ratios actually converge independent of where you stop, which would make TFA BS. Infinite probability distributions over the natural numbers usually don't converge.

    3. Re:Independent Verification by Anonymous Coward · · Score: 1, Funny

      I'm working on verifying this on paper. I might need some time.

    4. Re:Independent Verification by mambru · · Score: 1

      Actually he considered the first 1 million primes, not the primes until 1 million, I would say that is unbiased, but I might well be wrong.

    5. Re:Independent Verification by Halo1 · · Score: 2, Insightful

      The millionth prime is 15,485,863. This means that he considered ~5.5 million more numbers that start with a 1 (10 million - 15.5 million) than numbers that start with any other digit.

      --
      Donate free food here
    6. Re:Independent Verification by TrashGod · · Score: 1

      For the first 664580 primes less than a million, I got this:
      1: 80020 (12%)
      2: 77025 (11%)
      3: 75290 (11%)
      4: 74114 (11%)
      5: 72951 (10%)
      6: 72257 (10%)
      7: 71564 (10%)
      8: 71038 (10%)
      9: 70320 (10%)

    7. Re:Independent Verification by osu-neko · · Score: 1

      ur doin it rong! :o

      The relationship doesn't hold true over the first N-primes. It's statistically true over all primes < B^N where B is the numeric base. This will only be true for the first N-primes for very specific values of N, where N is the largest prime smaller than the base to some Nth power.

      --
      "Convictions are more dangerous enemies of truth than lies."
    8. Re:Independent Verification by rnelsonee · · Score: 1

      That's expected. You need to analyze smaller intervals. The TFA states (emphasis mine):

      Since the late â70s, researchers have known that prime numbers themselves, when taken in very large data sets, are not distributed according to Benfordâ(TM)s law. Instead, the first digit distribution of primes seems to be approximately uniform. However, as Luque and Lacasa point out, smaller data sets (intervals) of primes exhibit a clear bias in first digit distribution. The researchers noticed another pattern: the larger the data set of primes they analyzed, the more closely the first digit distribution approached uniformity.

    9. Re:Independent Verification by Ann+Coulter · · Score: 1

      Here are counts of the number of primes with a given leading digit. For each radix, I counted the primes up to
      the radix to the power of 6, so for radix 2, I considered the primes up to 2^6=64, and for radix 10, I considered the primes up to 10^6=1000000. The pairs in each list consist of the leading digit and the number of primes with that leading digit.

      radix 2
      [(1,18)]

      radix 3
      [(1,66),(2,63)]

      radix 4
      [(1,200),(2,186),(3,178)]

      radix 5
      [(1,488),(2,460),(3,441),(4,432)]

      radix 6
      [(1,1043),(2,994),(3,942),(4,934),(5,908)]

      radix 7
      [(1,2020),(2,1906),(3,1850),(4,1805),(5,1773),(6,1744)]

      radix 8
      [(1,3584),(2,3424),(3,3324),(4,3239),(5,3196),(6,3148),(7,3085)]

      radix 9
      [(1,6009),(2,5735),(3,5588),(4,5455),(5,5410),(6,5263),(7,5254),(8,5220)]

      radix 10
      [(1,9585),(2,9142),(3,8960),(4,8747),(5,8615),(6,8458),(7,8435),(8,8326),(9,8230)]]

    10. Re:Independent Verification by Anonymous Coward · · Score: 0

      You should look at numbers smaller than 10^n, for example for the first million, look at all those smaller than 10^7.

      (Otherwise it is fairly obvious why 1 has higher representation than 9)

    11. Re:Independent Verification by Anonymous Coward · · Score: 0

      Imagine a Hadoop cluster for this.

    12. Re:Independent Verification by TapeCutter · · Score: 1

      I have time, I just need a wider margin to write in.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    13. Re:Independent Verification by sshock · · Score: 1

      Exactly. It seems biased to me, but any arbitrary stopping place would be biased I suppose.

      BTW, I posted an earlier comment where I considered all the prime below 1 million and it looks like this:
      Begins with 1: 12.21%
      Begins with 2: 11.64%
      Begins with 3: 11.41%
      Begins with 4: 11.14%
      Begins with 5: 10.97%
      Begins with 6: 10.77%
      Begins with 7: 10.74%
      Begins with 8: 10.60%
      Begins with 9: 10.48%

      Here's all primes below 2 million:
      Begins with 1: 53.72%
      Begins with 2: 6.13%
      Begins with 3: 6.1%
      Begins with 4: 5.87%
      Begins with 5: 5.78%
      Begins with 6: 5.67%
      Begins with 7: 5.66%
      Begins with 8: 5.59%
      Begins with 9: 5.52%

      And here's all primes below 3 million:
      Begins with 1: 36.90%
      Begins with 2: 35.52%
      Begins with 3: 4.13%
      Begins with 4: 4.3%
      Begins with 5: 3.97%
      Begins with 6: 3.90%
      Begins with 7: 3.89%
      Begins with 8: 3.84%
      Begins with 9: 3.79%

      Perhaps an unbiased "test" would be one where you average the results of several tests, picking a random number each time as the stopping place (either the upper limit or the # of primes, probably doesn't matter).

      P.S. Here's my source code (uses openssl library): http://codepad.org/0DfZ8uOG

    14. Re:Independent Verification by sshock · · Score: 1

      Ok, my curioisty got the best of me. I altered the program to do 100 tests with a random stopping point each time. My results are:

      Begins with 1: 20.57%
      Begins with 2: 17.69%
      Begins with 3: 15.35%
      Begins with 4: 13.26%
      Begins with 5: 10.86%
      Begins with 6: 8.0%
      Begins with 7: 6.14%
      Begins with 8: 5.1%
      Begins with 9: 3.7%

      I'm still not seeing the 30% mentioned in the article, but it is a lot closer. Perhaps if I modified it to test a random # of primes instead of test up to a random # that would make a difference, but it doesn't seem like it would.

  37. Experts? by Anonymous Coward · · Score: 0

    How about only people with 5 digit slashdot ids answer this one? Let's skip the chaff and go straight to the wheat.

    1. Re:Experts? by osu-neko · · Score: 1

      Having a lower /. ID does not in any way signify expertise.

      Besides, those 5 digit people are n00bs... :p

      --
      "Convictions are more dangerous enemies of truth than lies."
    2. Re:Experts? by kju · · Score: 1

      Who asked for your opinion? :-)

    3. Re:Experts? by owlstead · · Score: 1

      "How about only people with 5 digit slashdot ids answer this one? Let's skip the chaff and go straight to the wheat."

      No, I vote to have this answered by just the ones with prime Slashdot ID's.

  38. Counter-example ... by Sepiraph · · Score: 1

    I bet this law doesn't apply in base 2 ...

    1. Re:Counter-example ... by T+Murphy · · Score: 1

      I disagree. A leading 1 is definitely the most common leading digit of primes in base 2.

    2. Re:Counter-example ... by T+Murphy · · Score: 2, Funny

      ...good god my sarcasm detector failed, I deserve a mod down for that one.

  39. Enron by Anna+Merikin · · Score: 4, Interesting

    was busted by auditors who found the books were "cooked" by applying the law of first numbers described in the /. blurb and TFA. The independent auditors found the first figures were randomly distributed instead of following Benford's law with the number 1 the most plentiful and nine the least -- therefore, the entries were fraudulent.

    Benford's law knocked my out at the time; I thought of how many bogus figures I had entered in my expense accounts over the years....

    1. Re:Enron by arth1 · · Score: 3, Informative

      At smaller scales than Enron, Benford and other related number distribution analysis schemes are indeed used to find fraud.

      Know the time report you fill out for the company you work at? There's a chance that it passes through a filter. If you make up figures for how long you spend at certain tasks, someone higher up may see it with a footnote saying "High probability of data being fictitious". If this pattern repeat itself over months, don't be surprised if your chances of retaining your job diminishes.

      On the other hand, you can use the statistics for your own advantage too. Not the least in games and gambling, where guessing your competitor's status and actions can change the odds quite dramatically. Including games and gambling you don't think of as games and gambling, like placing bids in auctions.

    2. Re:Enron by Anonymous Coward · · Score: 0

      Let's get to the important part - who has a list of properly distributed numbers that can be used on expense accounts!

    3. Re:Enron by Bromskloss · · Score: 1

      On the other hand, you can use the statistics for your own advantage too. Not the least in games and gambling, where guessing your competitor's status and actions can change the odds quite dramatically. Including games and gambling you don't think of as games and gambling, like placing bids in auctions.

      Ooo, this is really interesting! Could you tell us more about how to use such techniques in auctions (and other games too, for that matter). I would appreciate that very much.

      --
      Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    4. Re:Enron by eison · · Score: 3, Interesting

      Great example. Here's a pretty good article on it: http://abcnews.go.com/print?id=98043

      I also like their explanation for "why":
      "Imagine that you deposit $1,000 in a bank at 10 percent compound interest per year. Next year you'll have $1,100, the year after that $1,210, then $1,331, and so on. The first digit of your bank account remains a "1" for a long time.

      When your account grows to more than $2,000, the first digit will remain a "2" for a shorter period as your interest increases. And when your deposit finally grows to more than $9,000, the 10 percent growth will result in more than $10,000 in your account the following year and a long return to "1" as the first digit. "

      --
      is competition good, or is duplication of effort bad?
    5. Re:Enron by jnnnnn · · Score: 1

      It's quite a common analysis. I know it's one of the most basic tricks used by the Australian Tax Office to detect fraud (they don't mind talking about it because they've got lots of other tricks too.)

    6. Re:Enron by Culture20 · · Score: 1

      the number 1 the most plentiful and nine the least -- therefore, the entries were fraudulent. [...] I thought of how many bogus figures I had entered in my expense accounts over the years....

      I don't know about your purchasing habits, but mine rarely start with 1. Benford fails.

    7. Re:Enron by Anonymous Coward · · Score: 0

      was busted by auditors who found the books were "cooked" by applying the law of first numbers described in the /. blurb and TFA. The independent auditors found the first figures were randomly distributed instead of following Benford's law with the number 1 the most plentiful and nine the least -- therefore, the entries were fraudulent.

      Benford's law knocked my out at the time; I thought of how many bogus figures I had entered in my expense accounts over the years....

      I know someone who audits for the US Postal Service, and they have used this type of analysis for years.

      For the laymen, basically what Benford found was that in many real-world situations, you tend to see a larger % of numbers that start with the digit 1. I won't go into the why, check weaki-i-pedia for a proof if you care.
      What this means is that when people fudge numbers, they tend to pick more random values, so you end up with a distribution that is off-balance.

      It's not enough to prove fraud, but it's a quick and dirty way to ID what needs closer examination, and is a pretty good indicator that someone has either been faking the numbers, or just generally lazy.

    8. Re:Enron by snowgirl · · Score: 1

      And since the sum of all the numbers in winning lotto numbers is fairly constant, you should always look for that number, and then always bet on a number sequence that adds up to that! ... time reports are reasonably presumed to be randomly distributed. I would not expect them to behave according to Benford's Law.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
  40. This is true only for a finite range by mark-t · · Score: 1

    The set of integers is countable, and any subset of it, including the set of primes beginning with a particular digit, is also countable. One can always define a mapping of any infinite subset of any countable set to the complete set of positive integers, which means, perhaps rather counterintuitively, that they actually have the exact same number of elements.

  41. "...that surprisingly has gone unnoticed until now by DarkIye · · Score: 2, Funny

    They found that the distribution of the leading digit in the prime number sequence can be described by a generalization of Benford's law.

    Yeah, how did we miss that? We need to pay more attention.

  42. Gotcha. by mmell · · Score: 1

    Hey, I wonder if this holds true beyond Skewes number? (I don't remember all the particulars, but seemingly primes start to become more common beyond some incredibly high value. I vaguely remember reading an article by Isaac Asimov in SF monthly on the subject. At that time, Mr. Asimov suggested that there would be another point where that would reverse, but (with his dry sense of humor) he suggested that attempting to calculate Skewes number already left him skewered, and computing that second reversal point left him super-skewered.

    1. Re:Gotcha. by Anonymous Coward · · Score: 0

      The logarithmic integral li(x) is used as a good approximation to the prime counting function \pi(x), but for all "small" x we have \pi(x) < li(x).
      Skewes's number is just an upper bound on the first point where this inequality is reversed and \pi(x) becomes bigger than li(x) -- they actually switch places infinitely often.

      So primes don't become "more common" at all, there just sometimes happen to be more of them than this approximation might suggest.

  43. Which is utterly curious by Dunbal · · Score: 1

    Since numbers themselves don't mean anything at all. They are just abstract tokens we manipulate in a standardized manner in order to try to understand the world around us. Just like a bit doesn't care if it's in a silicon ram chip, flash memory, a "hole" in a reflective surface on a DVD, a vacuum tube or a bead on an abacus. In itself it's meaningless.

          To assume that the distribution of numbers means anything at all outside the fact that we humans measure things in "units", start counting from zero and the first digit is the number "one", and we usually try to use a unit that is close to the threshold of detection for our equipment is contemplation of the navel to the, well, first degree.

    --
    Seven puppies were harmed during the making of this post.
    1. Re:Which is utterly curious by colinrichardday · · Score: 1

      The tokens we manipulate are numerals, not numbers, nor are the tokens abstract (though numbers might be).

      Also, the integers have an order that is independent of how we express them. Given that we use some standard place-value base system of expressing positive integers, more integers expressed with lower initial "digits" will be prime than integers expressed with higher initial "digits".

    2. Re:Which is utterly curious by Dunbal · · Score: 1

      You make an important distinction in definition. However I still find it hard to believe that "nature" has any relationship with base 10. There's nothing special about the number 10, other than the fact that we have 10 digits on our hands. I don't understand how, for example, "Benford's law" fails to account for the numbers A through F (since I personally prefer base 16), and where exactly those numbers fit in that distribution plot.

      --
      Seven puppies were harmed during the making of this post.
    3. Re:Which is utterly curious by louiswins · · Score: 1

      You're right, there's nothing special about base 10. Benford's law isn't dependent on base 10, either: for appropriate sets, the digit 1 will be a far more common leading digit than the digit F. Changing base just shuffles the distribution a little bit, since there are more digits to take into account.

    4. Re:Which is utterly curious by colinrichardday · · Score: 1

      My understanding is that Benford's law deals with base-ten numerals because the data he found were expressed in base ten. It fails to account for hexadecimal numerals because the data he found were not in hexadecimal. If such data were expressed hexadecimally, then some Benford-type law might apply. As the occurrence of lead digits is distributed logarithmically, and 16=2^4, one would expect a fourth of the data to have lead 1, another fourth to have lead digit 2-3, another fourth to have lead digit 4-7, and the last fourth to have lead digit 8-f.

      See http://en.wikipedia.org/wiki/Benford's_Law

  44. Benford's law explained by leromarinvit · · Score: 2, Informative

    This reminds me of an interesting article (PDF) I found a while back which explains Benford's law nicely. To quote:

    In short, the logarithmic pattern of leading digits comes from the manipulation of the data, and has nothing to do with patterns in the numbers being investigated.

    [...]

    The largest numbers in this set are about a million times greater in value than the smallest numbers. This extensive spread is a key part of stamping the logarithmic pattern into the data. That is, 543,923,100 must be divided by 100,000,000 to place it between 1 and 9.99999, while 1,221 only needs to be divided by 1,000. In other words, different numbers are being treated differently, all according to an anti-logarithmic pattern.

    --
    Proud member of the Ferengi Socialist Party.
  45. Re:Why do people study "math" in college? by maraist · · Score: 1

    Others have replied to this question well enough. It's the same argument 'when am I ever going to use algebra/geometry [as taught in high school]'. First colleges aren't trade-schools. Their job is to give you a broad foundation, and more importantly, they teach you how to think.

    Math teaching you profoundly how to think. As an electrical-engineering undergraduate that doesn't directly use any of his main teachings, I still revisit all my text-books as one might revisit a game of sudoku. Being able to 'prove' a relationship, or walk through a design process requires a great deal of concentration and mental flexing.

    I would think that most people that go through a pure mathematics degree genuinely enjoy these processes (at least I do).

    I can guarantee you that this mental training does give me an edge over high-school, or even non-mathematically rigorous colleges in my field. A complex business process is met by my colleges with 'that gives me a headache', or 'lets take a break'. Which frustrates me, who would rather dig in deep and long.

    Believe me, it isn't because I'm any smarter than them. I strongly believe it's because I had a background in complex problem solving - given by my high school and there-after my university.

    --
    -Michael
  46. Identities by Grimace1975 · · Score: 1
    Who ever thinks that prime numbers are random are insane. Prime numbers are simple to discover, and IMHO need to be a number base (1=1, 2=3, 3=5, 4=7, ...) on their own.

    Primes by definition are numbers not covered in a repeating sequence. So to identity them in number line:
    Make N the last prime, remove every Nth whole number, then the first remaining number is the next prime. continue.

    [example]
    remove every 2 entry then the first remaining number, and next prime is 3.
    remove every 3 entry then the first remaining number, and next prime is 5.
    remove every 5 entry then the first remaining number, and next prime is 7.
    remove every 7 entry then the first remaining number, and next prime is 11.
    remove every 11 entry then the first remaining number, and next prime is 13.

    I have theorized (just a simple man) that primes could be identified by:
    • Using a compounding light wave and identifying the lowest intensity frequencies
    • A cross bar chip cdeveloped using nano scale lines to identify a number as its prime components, up to some limit.
    1. Re:Identities by Anonymous Coward · · Score: 0

      You just described the sieve of Eratosthenes (it's been known for over two thousand years), and everything else in your post is nonsense.

      - What do you mean by "random"? Sure, you can write down a list of all primes up to N if given enough time, and we can test whether a given integer is prime, but if they were truly non-random then maybe you could write down an exact formula to count the number of primes up to 10^100. We know a lot less about their distribution then you think.

      - A number base should only make sense if every positive integer has a unique expression in that base. How do you plan to achieve this? What (if any) useful properties would it have? For that matter, would it even be easy to do arithmetic in such a base?

      - "Primes by definition are numbers not covered in a repeating sequence." What the hell are you trying to say?

      - Your "theories" about identification are pretty useless, too, since if you want to identify primes of any reasonable size (say, 100 digits) you'll need either much better than Planck-scale precision or a chip the size of the universe.

    2. Re:Identities by gardyloo · · Score: 1

      I have theorized (just a simple man) that primes could be identified by:

              * Using a compounding light wave and identifying the lowest intensity frequencies
              * A cross bar chip cdeveloped using nano scale lines to identify a number as its prime components, up to some limit.

      Would love to know what your theorizing is. I think you mean you've "guessed". Additionally, you're going to run into big problems with your analogue computer (specifically, the golden mean -- also called the "most irrational number" -- which is, I suspect, what you're talking about). The most difficult problems to work around (probably deal-breakers) have already been addressed in the other response.

  47. This is... by theillien · · Score: 1

    ...an optimus discovery.

  48. Not surprising at all by Mike_K · · Score: 3, Informative

    If you had asked me about the distribution of first digits of prime #s yesterday I probably would have guessed logarithmic, regardless of base (except for binary, of course).

    Think about it. We know that primary # are distributed logarithmically. A set of N digit #s has equal subsets of numbers starting with 1, 2, 3, etc. Those subsets are equal in size, exclusive and completely ordered with respect to each other. So it follows that the # of prime #s in consecutive subsets would be a logarithmic function. And if you add the sizes of prime subsets for each starting digit, you'll still get a logarithmic distribution.

    Nothing to see here, move along.

    m

    1. Re:Not surprising at all by domulys · · Score: 2, Interesting

      Agreed... in fact, I observed this same pattern back in 1998 (no kidding) in a report I wrote for my High School AP Statistics class (titled "On patterns in the distribution of prime numbers"). I submitted it for extra credit, and I got a B+.

      Guess I should have published that guy!

    2. Re:Not surprising at all by Anonymous Coward · · Score: 0

      That's what I thought until I RTFMed.

      Actually the distribution is *not* logarithmic for large sets, only for small sets.

      Something to see here, RTFM.

    3. Re:Not surprising at all by Hikaru79 · · Score: 1

      I discovered this same relationship (empirically) while dicking around learning Scheme. I don't know what journal these guys got published in but I doubt it's anything more than a journal of exposition. The result is 'obvious' to anyone with mathematical training and I can think of at least two ways to prove it off the top of my head.

  49. Spanish Mathematicianss? by wfWebber · · Score: 1

    Don't mind them, they're from Barcelona

    --
    Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. -- Andrew S. Tanenbaum
    1. Re:Spanish Mathematicianss? by ledow · · Score: 1

      There is too much butter on those trays.

    2. Re:Spanish Mathematicianss? by MLease · · Score: 1

      No, no, no, Senor Fawlty! Uno, dos, tres!

      --
      I'm sorry; I don't know what I was thinking!
  50. I'd go for base 12 by Anonymous Coward · · Score: 0

    Think of it - it has great properties.

    - Easily dividable by 2, 3, 4 and 6
    - Matches real relations between time measures well (12 months, 4 seasons, ~360 days, ...)
    - Some existing unit systems match it well (think of the relation between day, hour, minute and second)

    1. Re:I'd go for base 12 by Erikderzweite · · Score: 1

      Besides, you can easily count to 12 -- you have 12 phalanx on your hand if you count them with your thumb (three on each finger thumb excluded). That way you can count up to 144 if you use both hands wisely.

    2. Re:I'd go for base 12 by DarkOx · · Score: 1

      Ok but, degrees, minutes, seconds or days minutes seconds are also kinda arbitrary. There on on 60's in a minute and 60 of those in an hour because we decided there should be.

      It would be more natural to measure these things in radians or some other multiple of Pi. 2(Pi) would come up quite a bit so being divisible by 2 is a nice property but both base 2,8,10 and base 16 would also give you that will retaining the advantages they offer.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    3. Re:I'd go for base 12 by Anonymous Coward · · Score: 0

      Besides, you can easily count to 12

      Maybe tomorrow you'll learn how to go to the bathroom by yourself, too.

    4. Re:I'd go for base 12 by osu-neko · · Score: 1

      It's not that arbitrary. The fundamental reason for that choice was to make it easily divisible. 12 is evenly divisible in a number of ways, but not by five. But multiply 12 by 5 and you get 60, which is evenly divisible by everything 12 is, and by five as well.

      Yes, there are 60 minutes and seconds because we decided there should be, but it was by no means an arbitrary decision. There were good, solid mathematical reasons why those numbers were chosen.

      --
      "Convictions are more dangerous enemies of truth than lies."
    5. Re:I'd go for base 12 by blincoln · · Score: 3, Informative

      There on on 60's in a minute and 60 of those in an hour because we decided there should be.

      Actually, it's because the Sumerians and Babylonians used a base-60 counting system.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    6. Re:I'd go for base 12 by fishbowl · · Score: 1

      >Ok but, degrees, minutes, seconds or days minutes seconds are also kinda arbitrary.

      More like an artifact of human proportions, than merely "arbitrary".

      There is a case to be made for a natural tendency toward a twelve month calendar or a twenty-four hour day, even when people didn't represent such things.

      --
      -fb Everything not expressly forbidden is now mandatory.
    7. Re:I'd go for base 12 by Hognoxious · · Score: 1

      I'm trying to work out what body parts a normal human has 12 or 24 of. Certainly none that are external and easily visible. Also the units appear to be measures of time. I'm not sure what the human body's clock speed is, but whatever you choose it's probably quite variable and we aren't consciously aware of it.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    8. Re:I'd go for base 12 by Tubal-Cain · · Score: 1

      That way you can count up to 144 if you use both hands wisely.

      Pfft. Binary allows up to 1023 with two hands.

    9. Re:I'd go for base 12 by Eric+Smith · · Score: 1
      Pfft. Binary allows up to 1023 with two hands.

      What, you're not dextrous enough to use three positions per finger and count to 59,048?

      I find that more than three positions per finger becomes difficult to maintain reliably.

    10. Re:I'd go for base 12 by drinkypoo · · Score: 1

      Well, your fingers plus your hands makes twelve. But perhaps you'd be better off with a sign flag or something...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    11. Re:I'd go for base 12 by jd · · Score: 1

      There were apparently psychological experiments in the 90s, where people would be deprived of any time cues (sunlight, clocks, television, radio, etc). Their body clock, IIRC, moved to 26 hours for a full wake/sleep cycle.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    12. Re:I'd go for base 12 by Cougar_ · · Score: 1

      From experience, when unhindered by the outside world, I run at around 25 - 25.5 hours per wake/sleep cycle.

    13. Re:I'd go for base 12 by Tubal-Cain · · Score: 1

      You people still sleep?

    14. Re:I'd go for base 12 by drachenstern · · Score: 1

      I tend to run 28 when given the opportunity. Granted, I can't get those around me to let me run that schedule, and I am still running the Uni gamut, so I'm not ready to try for freelance work just yet...

      --
      2^3 * 31 * 647
    15. Re:I'd go for base 12 by jd · · Score: 1

      Add sufficient caffeine tablets to their coffee. They will soon switch to 28 hour days.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    16. Re:I'd go for base 12 by fishbowl · · Score: 1

      I was thinking more of a lunar calendar than of body parts or the "human's body clock speed"

      It's pretty hard to make a case that there's anything but 4 seasons and 12 lunar cycles throughout them.

      So there's a natural perception of the synodic calendar.

      When your civilization invents the Sundial, the angle of 15 degrees derives naturally from it.

      Measurement systems based on the numbers 60 tend to be quite easy to construct. You don't need superstition and numerology to come up with a rationale for sexagesimal subdivision. It's probably no more mysterious than "12 is easily divided into various segments."

      I suspect that early civilizations were far more interesting in divining *direction* than *time*. If you know the time of day within 4 hours, and the season within a few weeks, you'll be fine. But knowing what direction to walk (or sail!) is a much bigger deal. And when you're working that out with sticks and strings, lots and lots of things divide by 60 and factors of 60.

      I didn't make clear what I meant by "human proportions."

      --
      -fb Everything not expressly forbidden is now mandatory.
    17. Re:I'd go for base 12 by Hognoxious · · Score: 1

      Those were the days! Finishing my dissertation I ended up in a cycle something like work 16, sleep 10, wake 6, sleep 6.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  51. Whats the point? by Q-Hack! · · Score: 1

    I use my prime digit to pick my nose...

    --
    Some days I get the sinking feeling Orwell was an optimist.
    1. Re:Whats the point? by Anonymous Coward · · Score: 0

      Most men use that for something else.

  52. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    Why do people study "math" in college?

    Because they're American?

  53. Re:Why do people study "math" in college? by richmaine · · Score: 1

    Practically all of physics even. I tend to jokingly refer to physics as applied math.

    I can't tell whether the original poster of this thread is trolling or is just incredibly stupid (or both, which might be most likely, insomuch as trolling is stupid), but I'd say that in general math is a superb undergraduate major for quiet practical reasons (independent of the abstract beauty).

    People entering undergrad school are often still a bit hazy on exact career goals. In that case, math can be an excellent choice because it is good base preparation for many, many fields - darn near anything scientific or technical, and some other areas as well. I often advise people who are still waffling about the details that math is a good default for undergrad, moving into something more specialized either in grad school or later in their undergrad work.

  54. distribution of primes by goombah99 · · Score: 1

    primes are beleived to be distributed as

    #primes x ~ x/ln(x)

    so the number from 0 to 10 is something like
    ~4
    10 to 100:
    ~17
    100 to 1000:
    ~123
    1000 to 10000:
    ~940

    as can be seen the number is more linear than logarithmic.

    Bensons law arises when things are distributed logarithically.

    thus the appearance of bensons law seems like it may be a suprise

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:distribution of primes by MindVirus · · Score: 1

      primes are beleived to be distributed as

      #primes x ~ x/ln(x)

      No longer. It is a full-blown theorem and it is a fact that the number of primes under x asymptotically approaches x/ln(x) as x approaches infinity (this is interesting as changing the ln() to a log() in any other base fails).

      as can be seen the number is more linear than logarithmic.

      There is some term describing O(x/ln(x)), I'm sure. But I wouldn't call it any more linear than it is logarithmic.

  55. Re:The real article, and what it does and doesn't by Anonymous Coward · · Score: 0
    I probably shouldn't feed the trolls, but:

    I find it interesting that the article doesn't prove any theorems.

    I don't find that interesting, since the summary and the linked article told me that they didn't prove any theorems. Perhaps you should search for the string "law", since this is an article about Benford's law and not Benford's theorem.

    That leaves me thinking: what does this article tell us that we couldn't find out ourselves by ripping through some prime numbers?

    That's kind of the point. Anyone can "find out" something for themselves. The hard part is being for the first to do it. Similarly, "what does Thomas Edison's light bulb tell us that we couldn't find out ourselves by playing with some electrical wires and different restiance filaments inside a vacuum?"

    I thought the real power of math was to say something 100% certain about some infinitude of stuff, so we don't have to go and check every case by hand.

    Lest you think that there isn't any real work getting done here, I'll go ahead and post part of the article for you:

    Significantly, Luque and Lacasa showed in their study that GBL can be explained by the prime number theorem; specifically, the shape of the mean local density of the sequences is responsible for the pattern

    They showed that the reason that the primes follow the Genearlized Benford's Law is because of a property of the prime number theorem. The interesting thing here is that you can use their conclusions to quickly see if a set follows the GBL, even for sets that are not prime numbers. In effect, we can now say that we are "100% certain" if a set has special properties, than it follows GBL.

  56. Choice of base is not mathematically relevant by exploder · · Score: 2, Interesting

    Mathematicians and mathematical results are generally indifferent to base. The mathematical properties of e, for instance, have nothing to do with its decimal expansion (other than the triviality that it never repeats because e is irrational). Mathematicians (and grad students like myself) almost never write something like "e =~ 2.71828...". It's true, but we don't care. There are far more interesting ways to characterize it, such as the base of the unique exponential function which is its own derivative.

    Changing from 10 to 16 would not help (or hurt) mathematics in the slightest. Try opening up a serious math book and looking for numerical constants greater than 9 (i.e. ones that would look different in hexadecimal). You won't find very many.

    Among the various bases, though, balanced ternary is kind of interesting.

    --
    Yo dawg, I heard you like the Ackermann function, so OH GOD OH GOD OH GOD
  57. Why is this news? by kune · · Score: 1

    The number of primes pi(x) not exceeding x is approximately x/ln(x). (Source: Graham, Knuth and Patashnik, "Concrete Mathematics")

  58. Not predictive (just in case you were thinking it) by __roo · · Score: 3, Interesting

    If this is the first time you've run across Benford's law, you might thought to yourself, "Wow, I can use that to predict large prime numbers! I'll just convert numbers to base X, where X is really big, and only check numbers that start with 1."

    It's worth actually trying this, if you get a minute. You'll find that as X gets large, the number of primes that start with 2 gets closer to the number of primes tat start with 1. As X approaches infinity, your distribution approaches a smooth logarithmic curve.

    It's neat to see it yourself. This gives you an easy way to experiment with an infinite, easily generated set of numbers that follows Benford's law. It turns out that math actually works, oddly enough.

  59. Complete bullshit by gnasher719 · · Score: 4, Insightful

    The prime number theorem was conjectured in 1796 by Adrien-Marie Legendre and proved in 1896 independently by Jacques Hadamard and Charles Jean de la Vallée-Poussin. It says that if pi (N) denotes the number of primes p = N, then pi (N) / (N / ln N) converges towards 1; accordingly the number of primes between A and B is about (B / ln B - A / ln A). This shows that there should be slightly more d digit primes starting with 1 than with 2, 3, 4 etc. A reasonably good approximation is that the number of d digit primes starting with 1 is not 1/9 th of all d digit primes, but more precisely (11 1/9 + 5.7 / d) percent. This is all very, very simple maths. I don't think it hasn't been observed before, it was just never considered worth mentioning. However, the prime number theorem alone is not enough to prove this; it would be necessary to prove that convergence happens at a certain speed. So anything that these so-called "mathematicians" claim that depends on observations of large list of primes is pure nonsense.

    1. Re:Complete bullshit by emurphy42 · · Score: 2, Interesting

      I was thinking this myself at first, but apparently something goes wrong with it, because (per TFA) the distribution actually moves away from Benford's Law weighting and toward uniformity as the sample size grows larger. The specific rate of this movement is somehow described by a generalization of Benford's Law; while BL at one point uses 1/x, GBL uses 1/(x^a), with BL as the special case where a = 1.

    2. Re:Complete bullshit by julesh · · Score: 1

      I think most people are slightly missing the point here: it isn't shocking that prime numbers follow this distribution. It is, as you say, a fairly obvious consequence of the prime number theorem. The point is this: the authors have designed a new statistical distribution as a slight modification of the Benford's Law distribution. Among other things, first digits of prime numbers fit this distribution. The focus of the story is wrong.

    3. Re:Complete bullshit by khallow · · Score: 1

      I'd go with the proof over the results in the article. The former is true (as much as anything can be in the world), the latter is an observed computation result for small numbers.

    4. Re:Complete bullshit by tech_fixer · · Score: 1

      I also agree this is complete bull. The only mathematical fact I hold to be true is that 3 is the Magic Number.

    5. Re:Complete bullshit by khallow · · Score: 1

      Benford's Law is incompatible with the known distribution of prime numbers.

  60. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    This is slashdot. Some answers are known well before any questions need be asked.

  61. Not so new.... by Anonymous Coward · · Score: 0

    http://home.zonnet.nl/galien8/prime/prime.html

  62. What about cryptology? by Anonymous Coward · · Score: 1, Interesting

    What implications does this have on crypto? Since a lot of decent crypto is based on random number generation will this render modern cryptographic techniques useless? Will there be some emperical way to determine the remaining digits of a random number based on Benfords posit?

  63. Surprising? by Anonymous Coward · · Score: 0

    It's surprising this could get attention/published.

    And in other news, the second hundred billion digits of pi still could be random.

    1. Re:Surprising? by polemistes · · Score: 3, Interesting

      Actually, if you read the decimals of pi backwards, you'll get all the primes after each other.

    2. Re:Surprising? by John+Hasler · · Score: 1

      Works reading forward, too. You just have to find the right place to start...

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    3. Re:Surprising? by brantondaveperson · · Score: 1

      This is the funniest thing I've ever read on ./ - mods are all asleep at the wheel.

  64. This is obvious by Anonymous Coward · · Score: 0

    It's not surprising at all.

  65. Not Surprising or Unknown by Anonymous Coward · · Score: 0

    Somewhat unexpectedly, the leading digits aren't randomly or uniformly distributed, but instead their distribution is logarithmic.

    This is not surprising or unknown. The primes themselves follow a logarithmic distribution (think about probabilities of any number having a divisor [hint: how fast the largest divisor grows, and how fast the number of divisors grow].)

    Of course the first digits will also follow a log distribution. The prime numbers in the range 0-9 will have log distribution, the prime numbers in the range 10-99 will have log distribution, then prime numbers in the range 100-999 will have log distribution, etc. The leading digits in each of those ranges will have a log distribution (since the numbers themselves do). Put the ranges together and you get a log distribution for all leading digits.

    Not new or unnoticed, and it gives no new results.

  66. Nothing to See. Move along. by Anonymous Coward · · Score: 0

    This is a non-result. They didn't prove anything. They only did a statistical analysis on a finite number of primes. That primes should obey Benson's law is an obvious conjecture to make and is in fact a strictly weaker statement than the Riemann hypothesis, which most mathematicians already think is probably true.

  67. Re:Why do people study "math" in college? by WCguru42 · · Score: 2, Insightful

    ...It's the same argument 'when am I ever going to use algebra/geometry [as taught in high school]'.

    As an electrical engineer, in undergrad, we were expected to already know a fairly large amount of algebraic and geometric/trigonometric relationships from high school and we never went over those principles in class. Now, if you're not going into a scientific/engineering/mathematics degree you're probably never going to need to use those principles, but it's a good thing to learn incase you don't know whether you want to be a technical student in college (if you even end up going).

    As an electrical-engineering undergraduate ... I would think that most people that go through a pure mathematics degree genuinely enjoy these processes... I can guarantee you that this mental training does give me an edge

    As an electrical engineering graduate student I can tell you that I genuinely loath my advanced mathematics courses. I'll say it straight up, they're hard as hell. But I will agree with you that because of those courses I've learned skills that allow me to produce better proofs and quicker understanding of mathematical relations in my linear systems, power systems, and dynamic allocations courses compared to my colleagues who have not taken more rigorous mathematics courses.

    I always enjoyed studying with the math students (me being the only non-mathematics graduate student). They always were looking for complete, rationally derived proofs, whereas I would be okay with accepting certain principles without a full proof. I don't think they ever understood how I could just assume certain things were correct and then move on to the next step. That's the difference between mathematicians and engineers; mathematicians want a thorough and rigorous proof and engineers are willing to get "just good enough" on the assumption that someone in the past did their mathematics correctly and their equations are correct.

    --
    "Educate the mind but never at the expense of the soul."~Blessed Basil Moreau
  68. Hedging your bets by Hognoxious · · Score: 1

    And the entry for Benson's law?

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    1. Re:Hedging your bets by Warlord88 · · Score: 1

      He he.. I'm sure hkz meant Benford's Law. If so, then he made a horrible typo. If not, I'm missing something big here.

    2. Re:Hedging your bets by Hognoxious · · Score: 1

      You're missing that one person got it wrong, and 200 lemmings followed him.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  69. or perhaps math majors could work in finance by Anonymous Coward · · Score: 0
    ... and create a way to securitize home mortgages to enable borrowers that don't have enough money to get a real loan funded by a real person (who cares if they got paid back) and to conjure up a mechanism like colateralized debt swaps to bypass insurance laws (which require adequate underwriting reserves) to make these loans actually affordable to those borrowers...

    ...oh wait, maybe that wouldn't be such a great idea as this could lead to a sub-prime loan disaster devistating our economy...

    ...too late ;^)

    Perhaps we shouldn't be applying advance math to matters of finance...

  70. Not so fast by Anonymous Coward · · Score: 0

    Then why do I still remember BR-549?

  71. I don't know, but... by Hurricane78 · · Score: 1

    ...to me, Benford's law always seemed completely obvious. I didn't think that someone would give it a name and publish it as a great new concept.
    I mean, how can you not immediately notice that, when you try to count to 1000, then up to a million, and play a bit with numbers, as a child?

    Ok, someone had to notice that it is a concept, and be the one who writes it down. I give credit for that. But the rest...

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
    1. Re:I don't know, but... by Anonymous Coward · · Score: 0

      I love it when someone discovers something, and every idiot that didn't runs around screaming it was obvious.

  72. Not a new discovery by Viadd · · Score: 1

    Searching on prime numbers and Benford's law, the first page includes a hit on the book
    Prime Numbers by David G. Wells which on page 17 talks about Benford's law and the distribution of first digits of primes.

  73. Re:Independent Verification (oops) by Mendenhall · · Score: 1

    I think your sample is badly biased by ending on the 1,000,000th prime, since essentially all your primes are then those between 10,000,000 and 15,485,863 which is the last prime in the first million file.

    It took me a while to notice this, too, since any sampling which doesn't sample exact decades is badly biased. By the time you get all the primes less than 1e9, the distribution is very flat. Here are the stats:

    first digit histogram [6003531, 5837665, 5735086, 5661135, 5602768, 5556434, 5516130, 5481646, 5453140]
    fractions:

    0.118069263338
    0.114807236968
    0.112789853038
    0.111335485585
    0.110187602998
    0.109276369051
    0.108483724924
    0.107805540623
    0.107244923476

    I am running through all the primes less that 1e11 right now, and will post that later.

  74. Look at a slide-rule for the answer by qromodyn · · Score: 1

    Pick a random spot on a slide-rule. You are more likely to hit a region where the mantissa starts with 1 than any other region. And as posters have already pointed out, a base-2 slide-rule would guarantee that the first digit is 1. There is nothing magic about Benford's law, it only shows that random numbers based on measurements are logarithmically distributed.

  75. Some More Information by eldavojohn · · Score: 5, Interesting

    So I read the comments and see that I need to do this in ranges or 1 to 100, 1 to 1000, etc. Which is fine, I've added another R method and would post the code here if it didn't yell at me for junk characters. So here are your Benford lists:

    All Primes 1-100
    Counted Occurances:
    4, 3, 3, 3, 3, 2, 4, 2, 1
    Frequencies:
    0.160, 0.120, 0.120, 0.120, 0.120, 0.080, 0.160, 0.080, 0.040

    All Primes 1-1,000
    Counted Occurances:
    25, 19, 19, 20, 17, 18, 18, 17, 15
    Frequencies:
    0.149, 0.113, 0.113, 0.119, 0.101, 0.107, 0.107, 0.101, 0.089

    All Primes 1-10,000
    Counted Occurances:
    160, 146, 139, 139, 131, 135, 125, 127, 127
    Frequencies:
    0.130, 0.119, 0.113, 0.113, 0.107, 0.110, 0.102, 0.103, 0.103

    All Primes 1-100,000
    Counted Occurances:
    1193, 1129, 1097, 1069, 1055, 1013, 1027, 1003, 1006
    Frequencies:
    0.124, 0.118, 0.114, 0.111, 0.110, 0.106, 0.107, 0.105, 0.105

    All Primes 1-1,000,000
    Counted Occurances:
    9585, 9142, 8960, 8747, 8615, 8458, 8435, 8326, 8230
    Frequencies:
    0.122, 0.116, 0.114, 0.111, 0.110, 0.108, 0.107, 0.106, 0.105

    All Primes 1-10,000,000
    Counted Occurances:
    80020, 77025, 75290, 74114, 72951, 72257, 71564, 71038, 70320
    Frequencies:
    0.120, 0.116, 0.113, 0.112, 0.110, 0.109, 0.108, 0.107, 0.106

    This is the raw data so to turn that into something visual, I dumped it into a Google spreadsheet and made it public (note the scale on the y axis). Enjoy!

    It seems that the curve is flattening out the more data I collect, but the logarithmic curve may be valid. I have the data for 100,000,000 and will add that to the spreadsheet once it completes.

    --
    My work here is dung.
    1. Re:Some More Information by Anonymous Coward · · Score: 0

      This is off-topic and really not intended to be part of the conversation so most of you should just ignore it.

      Dear Eldavojohn,

      I've enjoyed your posts over the years, your handle is one of a few on slashdot that rings a bell in my head when I see it. However, if you're going to use a word six times in a single post you may as well take the time to learn that it is spelled "occurrences." Note that there are two 'r's and that it's an 'e' not an 'a'.

      Again, I respect your efforts in posting to slashdot; this is meant to be helpful, not to be any sort of attack.

    2. Re:Some More Information by Anonymous Coward · · Score: 0

      This is off-topic and really not intended to be part of the conversation so most of you should just ignore it. Dear Eldavojohn, I've enjoyed your posts over the years, your handle is one of a few on slashdot that rings a bell in my head when I see it. However, if you're going to use a word six times in a single post you may as well take the time to learn that it is spelled "occurrences." Note that there are two 'r's and that it's an 'e' not an 'a'. Again, I respect your efforts in posting to slashdot; this is meant to be helpful, not to be any sort of attack.

      Guess I was a little more concerned with making sure there were no errors in my code than the spelling in my post. Yes, occurrence and I have never gotten along at all.

      This is not meant to be an attack on you but if you're going to use my name, it's spelled 'eldavojohn' not 'Eldavojohn.' The lowercase 'e' is important to signify that I am not important and should be ignored until it is too late.

      Equally off-topic,

      eldavojohn

  76. More Information Link from eldavojohn by Anonymous Coward · · Score: 0

    So I grabbed the wrong reply link at the bottom and dumped it into a top level thread you can find here for those still reading this.

  77. Re:Why do people study "math" in college? by GiMP · · Score: 1

    Personally, I've been slowing advancing towards a mathematics degree because:

    • I own my own business and am not looking for a job
    • Mathematics has applications in both business and computer science
    • If I ever decide to be hired, I feel that Mathematics is a suitable substitute for a computer science degree.
    • I would gain nothing from a computer science degree besides the paper it is printed on. I am attending classes to learn. If I wanted paper, I'd go to Staples or Kinkos.
    • For the challenge of it.
    • As one with an "engineering mind" I want to know how things work, what makes them tick. Mathematics makes everything tick.
  78. absence of a pattern by Anonymous Coward · · Score: 0

    This is not the discovery of a pattern, this is the discovery of the absence of a pattern. They discovered that the distribution of first digits of primes is what it would be in any (scale-invariant) set of random digits (the scale-invariance is why one has to take logs).

  79. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    Yeah, but she faked it.

  80. Irrelevant by pjt33 · · Score: 1

    That two sets A and B are both countably infinite doesn't necessarily mean that the probability of a random element from B being in A is undeterminable. To take a simple counterexample: the even integers are a countable subset of the integers, and the probability that a randomly selected integer is even is 50%.

  81. Re:Why do people study "math" in college? by The_mad_linguist · · Score: 1

    The real reason not to study "math" in college in the US is because of immigration laws giving people with doctorates in mathematics preferred status for immigration.

    That means the supply of people with those degrees is often far higher than the demand, as one portion of the population is assessing their choice of degree taking into account a secondary positive effect.

  82. I Found a Fit! by eldavojohn · · Score: 5, Interesting
    The results for all primes between one and one hundred million:

    Counted Occurances:
    686048, 664277, 651085, 641594, 633932, 628206, 622882, 618610, 614821
    Frequencies:
    0.119, 0.115, 0.113, 0.111, 0.110, 0.109, 0.108, 0.107, 0.107

    So there's some more data for you. I added that to this spreadsheet.

    So I hope that satisfies everyone who replied to my thread first of all. I hope 5,761,455 primes between one and one hundred million satisfies you.

    I used a very simple Non Linear Squares model to solve for a single constant on a log of these values. I think I have a fit. Using Benford's model and the NLS Package in R, I found:

    f(x) = 0.020814 * log(161.147689 * ((x+1)/x))

    To fit quite nicely, here's the summary:

    Formula: y ~ Const1 * log(Const2 * ((x + 1)/x))

    Parameters:
    Estimate Std. Error t value Pr(>|t|)
    Const1 0.020814 0.001940 10.7292 1.343e-05 ***
    Const2 161.147689 80.222081 2.0088 0.08452 .
    ---

    Residual standard error: 0.0010413 on 7 degrees of freedom

    Number of iterations to convergence: 8
    Achieved convergence tolerance: 1.8104e-07

    Here is the list of frequencies next to what my model produced:

    Benford Prime Rates
    0.11907548
    0.11529674
    0.11300704
    0.11135972
    0.11002984
    0.10903600
    0.10811193
    0.10737045
    0.10671280

    NLS Model Results
    0.1202106
    0.11422279
    0.11177125
    0.11042794
    0.10957828
    0.10899193
    0.10856276
    0.10823497
    0.10797641

    I would wager that they are correct. Neat discovery!

    --
    My work here is dung.
    1. Re:I Found a Fit! by shrikel · · Score: 1

      As long as you've got the code all written ... how about running it in base 6 or something?

      --
      Any sufficiently simple magic can be passed off as mere advanced technology.
  83. 30%? by Anonymous Coward · · Score: 0

    I've checked against 50 million primes and it seems to be at 11% I suppose if I had a greater sample it would reach 11.1%

  84. What fraction of positive integers start with a 1? by 4181 · · Score: 1

    What fraction of all positive integers (represented in base 10) start with a "1", or is the value undefined because the limit fails to converge? In the latter case, is there some meaningful average of the upper and lower bounds?

  85. what? by dudpixel · · Score: 1

    you guys dont have enough to do.

    --
    This seemed like a reasonable sig at the time.
  86. The pattern decoded by canonymous · · Score: 1

    Decoded, the pattern spells out the message: "Haha, it's me, God, I existed along"

  87. Re:Why do people study "math" in college? by Anonymous Coward · · Score: 0

    Math is the language of the universe. If you don't want to understand *ANYTHING*, and I mean ***ANYTHING***, about the universe, then don't study math. Otherwise, you pretty much don't have a choice.

  88. Oh yeah? by Myria · · Score: 1

    Pfft. Binary allows up to 1023 with two hands.

    Four you.

    --
    "Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
  89. Absence of pattern by amcguinn · · Score: 1

    Obeying Benfords law isn't a pattern - it's the absence of a pattern. If the sequence of leading digits of prime numbers didn't follow Benford's Law, that would be a pattern, and a very interesting and peculiar one - there would have to be some underlying reason for such non-randomness.

  90. The end is nigh! by daem0n1x · · Score: 1

    So much for public key cryptography!

  91. Prime algorithm should give this result? by PMBjornerud · · Score: 1

    Isn't this property a simple corollary of one of the standard algorithms used for finding primes?

    I.e. 2 is a prime, strike 4, 6, 8, and all other powers of two.

    3 is a prime, strike 6, 9, 12 and all other powers of three.

    And so on.

    Each of the steps will remove numbers from the list at a fixed interval. Meaning the the distance between primes increase as the numbers grow larger. A repeating pattern based on the previous prime numbers.

    Since the distance between the numbers grow, you will have more numbers in the beginning of the interval.

    --
    I lost my sig.
  92. Not actually a proof by payola · · Score: 1

    From quickly glanced through the paper, it doesn't seem to me that the authors have actually proved any theorems - at least not in the mathematical sense of the word "proof." They *have* provided ample numerical evidence that indicates Benford's Law applies to primes, but their explanation for why this is so is because the primes have a 1/log(x) density - nothing deeper than that. It's a cool paper to be sure, but there doesn't seem to be much significance for mathematics.

  93. Re:Why do people study "math" in college? by unlametheweak · · Score: 1

    Why do people study "math" in college?

    This is the wrong place to be asking questions like that. You'd get better answers at your local sports bar. Oh, by the way, don't ask people who climb mountains why they studied mountain climbing in school.

  94. What exactly was discovered here? by readin · · Score: 1

    It has long been known that the frequency of primes decrease as values increase. That is, there are likely to be more primes between 1 and 101 than between 1000001 and 1000101. It simply makes sense then that for any number of digits, the number of primes between 1x10^n and 2x10^n would be greater than the number of primes between 9x10^n and 10x10^n. Given that we have formulas for predicting this decrease in frequency, finding the actual distribution should be simple. Was there something unexpected about the actual results that were found?

    --
    I often don't like the choices people make, but I like the fact that people make choices. That's why I'm a conservative.
    1. Re:What exactly was discovered here? by Anonymous Coward · · Score: 0

      From my read, not what the article was saying.

      It says that out of all primes with any number of digits, there are more starting with 1 than 2. This is different than saying that the number of primes between 1x10^n and 2x10^n is greater than 2x10^n and 3x10^n.

  95. news at 11 by fulldecent · · Score: 1

    A property which can be applied to log-normal-spaced distributions of numbers has been applied to a log-normal-spaced distribution of numbers.

    News at 11.

    --

    -- I was raised on the command line, bitch

  96. You blew the punchline... by Anonymous Coward · · Score: 0

    ... and pray tell, what are they?

  97. Is this saying anything interesting about primes? by pfafrich · · Score: 1
    I'm wondering if this result is actually saying anything particularly interesting about the primes?

    If I had to a-priori guess how the first digit of prime numbers were distributed then I would guess it would be some version on Zipf's law. Which indeed proves to be the case. What would have been more interesting if it failed to follow the rule which would have perhaps given some more insight into the distribution. Or maybe I've missed something.

    So its sort of an anti-result - every thing is as predicted. In other news: the sun will rise tomorrow.

    --
    There are four sorts of people in the world: fools, lunatics, idiots and morons. - Umberto Eco, Foucaut's pendulum.
  98. Undo function? by marcus · · Score: 1

    I'll bet you wish /. had one right about now, or did you miss the part about 10 ?

    --
    Good judgement comes from experience, and experience comes from bad judgement.
    - W. Wriston, former Citibank CEO
  99. That's really ironic... by DavidShor · · Score: 1

    On the contrary, a set can have measure 0 and be non-empty...(What is the probability of selecting a prime number over the set of integers? Surely there exist primes...)

  100. Well I'll be... by marcus · · Score: 1

    Too old. You have triggered some old and long unused neurons. I have not thought of length, area, volume... "measures" of sets in more than 25 years.

    I still like the post you originally replied to; wish I had some mod points. That was funny.

    --
    Good judgement comes from experience, and experience comes from bad judgement.
    - W. Wriston, former Citibank CEO
  101. Trivial by sgunhouse · · Score: 1

    Sorry guys, but it would actually be surprising if they didn't follow Benford's law. This is a non-issue as far as mathematics goes.