Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Languages Misc > Re: ANN: Seed7 ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 17 of 18 Topic 1109 of 1203
Post > Topic >>

Re: ANN: Seed7 Release 2008-02-17

by Richard Heathfield <rjh@[EMAIL PROTECTED] > Mar 27, 2008 at 09:36 PM

Captain Tony Valare said:

> Something that is related to the base number system makes all numbers
> prime
> in base 2.

The primality or otherwise of members of Z does not depend on the textual 
representation you choose.

> since there are just 2 numbers, then all there are is the
> number
> itself, or the number to the zero power.

You appear to be talking about modulus, rather than number bases.

> Any number to the zero power = 1. Now to bring that idea
> forward, you could have a set of numbers which had
> that property, but use a different base number system.  Say base 13. 
> Would there be any prime numbers, well yes.

Actually, assuming you mean mod 13, no, there wouldn't be any primes. As 
Wolfram rightly says, "a prime number is a positive integer having exactly

one positive divisor other than 1", so 0 and 1 aren't prime by definition.

1 * 2 = 2 (mod 13) and 5 * 3 = 2 (mod 13), so 2 isn't prime. 2 * 2 = 4 
(mod 13), so 4 isn't prime. 1 * 5 = 5 (mod 13) and 2 * 9 = 5 (mod 13), so 
5 isn't prime. 2 * 3 = 6 (mod 13), so 6 isn't prime. 5 * 4 = 7 (mod 13), 
so 7 isn't prime - and so on.

<snip>

-- 
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www.
+rjh@[EMAIL PROTECTED]
 users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
 




 18 Posts in Topic:
ANN: Seed7 Release 2008-02-17
thomas.mertes@[EMAIL PROT  2008-02-17 14:13:00 
Re: Seed7 Release 2008-02-17
"Aaron Gray" &l  2008-02-18 09:41:13 
Re: Seed7 Release 2008-02-17
"Aaron Gray" &l  2008-02-18 16:42:21 
Re: Seed7 Release 2008-02-17
thomas.mertes@[EMAIL PROT  2008-02-18 06:09:03 
Re: Seed7 Release 2008-02-17
thomas.mertes@[EMAIL PROT  2008-02-18 10:43:00 
Re: Seed7 Release 2008-02-17
"Aaron Gray" &l  2008-02-18 23:19:32 
Re: ANN: Seed7 Release 2008-02-17
Bart <bc@[EMAIL PROTEC  2008-02-18 13:02:28 
Re: ANN: Seed7 Release 2008-02-17
thomas.mertes@[EMAIL PROT  2008-02-19 13:51:04 
Re: ANN: Seed7 Release 2008-02-17
"Bartc" <bc@  2008-02-19 23:43:10 
Re: ANN: Seed7 Release 2008-02-17
"Captain Tony Valare  2008-03-26 17:39:27 
Re: ANN: Seed7 Release 2008-02-17
"Captain Tony Valare  2008-03-26 19:57:13 
Re: ANN: Seed7 Release 2008-02-17
Richard Heathfield <rj  2008-03-27 06:41:43 
Re: ANN: Seed7 Release 2008-02-17
cri@[EMAIL PROTECTED] (R  2008-03-27 08:04:53 
Re: ANN: Seed7 Release 2008-02-17
"Captain Tony Valare  2008-03-27 14:37:00 
Re: ANN: Seed7 Release 2008-02-17
Richard Heathfield <rj  2008-03-27 19:57:35 
Re: ANN: Seed7 Release 2008-02-17
"Captain Tony Valare  2008-03-27 16:04:09 
Re: ANN: Seed7 Release 2008-02-17
Richard Heathfield <rj  2008-03-27 21:36:52 
Re: ANN: Seed7 Release 2008-02-17
"Captain Tony Valare  2008-03-27 19:09:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 19 23:57:45 CDT 2008.