Distribution of twin primes
Eric W. Weisstein
eww at wolfram.com
Fri Jan 23 16:22:18 CET 2004
On Fri, 23 Jan 2004 f.firoozbakht at sci.ui.ac.ir wrote:
> Dear seqfans,
>
> I have worked with Mathematica since 13 years ago.
> I had faced with such a problem whenever the procedure got near to a
> ten-digit prime.
> The procedure used to generated negative numbers and got returned.
> This strange prime is p=2147483647.
> p always makes trouble for the procedures using Mathematica.
> This is common to all kind of investigations that I made on numbers.
>
> For example you can try the following simple procedure:
>
> In[13]:=
> Table[n, {n, 2147483647 - 3, 2147483647 + 3}]
>
> Out[13]=
> {2147483644, 2147483645, 2147483646, 2147483647, -2147483648
> , -2147483647, -2147483646}
>
> I guess this is related to either:
>
> 1. A bug in Mathematica this strange prime.
> 2. A strange property of this prime.
>
> I am looking forward to hearing any idea or comment in this regards.
Mathematica v4.0 was released nearly 5 years ago. The above works as
expected in every version since.
Cheers,
-E
More information about the SeqFan
mailing list