Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #403168

Re: simple proof to explain the "shocking" news about primes last digits not being random

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.math, sci.electronics.design
Subject Re: simple proof to explain the "shocking" news about primes last digits not being random
Date 2016-03-16 18:29 -0700
Organization Aioe.org NNTP Server
Message-ID <ncd1a1$13fe$2@gioia.aioe.org> (permalink)
References (9 earlier) <ncc434$1gki$1@gioia.aioe.org> <ncc5ui$1kag$1@gioia.aioe.org> <ncc8dd$1pe2$2@gioia.aioe.org> <nccr0l$rue$1@gioia.aioe.org> <ncctng$t10$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 3/16/2016 5:31 PM, David Bernier wrote:

> I can reproduce the 17.757% for "7 7" (mod 10) like this,
> using PARI/gp:
>
> ? c77 = 0; c7 = 0; lastp=7; forprime(q = 8, 2038074750, rc=q%10;
> rl=lastp%10; if(abs(rl-7)<1, c7=c7+1; if(abs(rc-7)<1, c77= c77+1));
> lastp = q); print(c7,"   ",c77); print(100.0*c77/c7)
>
> 25000402   4439355
> 17.757134465277798333002805314890537
>
> primepi(2038074750) = 100000000 = 10^8 .
>
> ====
>
> If we look instead at the block of primes from 10^20 to 10^20 + 10^9,
> the probability of "7 7" (mod 10) given a "7" (mod 10) should
> be closer to 25% . But by how much?

Hi,

I guess it would be good to try a range that your computer can handle,
do you get other results different from 17.757% ie for up to 1billion
or up to 4billion?

cheers,
Jamie


>
> Dave
>
>
>
>

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 03:45 -0700
  Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 04:41 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:06 -0700
      Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:28 -0700
        Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:53 -0700
          Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-16 15:07 +0100
            Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 07:35 -0700
              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 08:14 -0700
              Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-17 22:36 +0100
            Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 09:51 -0700
              Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 09:55 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:04 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:10 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 10:42 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:24 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 16:42 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-16 20:31 -0400
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:25 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-17 02:41 -0400
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 10:37 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 10:59 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-17 13:21 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-03-18 14:28 +0000
                Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-19 13:22 +0100
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie Morken <jmorken@shaw.ca> - 2016-03-21 13:46 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie Morken <jmorken@shaw.ca> - 2016-03-19 14:47 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random David Bernier <david250@videotron.ca> - 2016-03-16 21:29 -0400
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:32 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 19:05 -0700
                Re: simple proof to explain the "shocking" news about primes last digits not being random Joe <joe@somewhere.org> - 2016-03-19 02:27 +0000
                Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:29 -0700
              Re: simple proof to explain the "shocking" news about primes last digits not being random Gottfried Helms <helms@uni-kassel.de> - 2016-03-17 22:37 +0100
  Re: simple proof to explain the "shocking" news about primes last digits not being random Sylvia Else <sylvia@not.at.this.address> - 2016-03-16 22:47 +1100
    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 06:08 -0700
      Re: simple proof to explain the "shocking" news about primes last digits not being random Sylvia Else <sylvia@not.at.this.address> - 2016-03-17 12:29 +1100
        Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 18:42 -0700
  Re: simple proof to explain the "shocking" news about primes last digits not being random Virgil <VIRGIL@VIRGIL.com> - 2016-03-16 11:14 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:14 -0700
  Re: simple proof to explain the "shocking" news about primes last digits not being random DaveC <not@home.cow> - 2016-03-16 11:11 -0700
    Re: simple proof to explain the "shocking" news about primes last digits not being random Jamie M <jmorken@shaw.ca> - 2016-03-16 11:17 -0700

csiph-web