Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Craziness Domain. | 2 guests
Acmlm's Board - I2 Archive - Craziness Domain - The Prime Number Shitting Bear. | |
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 4327/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 08-24-04 01:18 AM Link | Quote
Yes mr Obvious...

Jesper, it may be a good idea to have a link in your first post explaning what a prime number is. So people don't think it just shits out numbers...
Jesper
Busy, busy, busy.
Level: 69

Posts: 690/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 08-24-04 01:38 AM Link | Quote
Yes mr Obvious.

Originally posted by Wikipedia/Prime
In mathematics, a prime number, or prime for short, is a natural number whose only distinct positive divisors are 1 and itself; otherwise it is called a composite number. The number 1 is neither prime nor composite; a factor of 1 is of no interest in any product. The property of being a prime is called primality.
There.
Ran-chan

Moldorm
eek, when are they going to stop growing...
Level: 143

Posts: 2838/12781
EXP: 35293588
For next: 538220

Since: 03-15-04
From: Nerima District, Tokyo - Japan

Since last post: 12 hours
Last activity: 12 hours
Posted on 08-24-04 11:42 PM Link | Quote
That bear is shitting numbers over 50k now... And it
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 1597/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 08-24-04 11:51 PM Link | Quote
Originally posted by Kitten Yiffer
So people don't think it just shits out numbers...


It thought everyone knew what it is.
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 1994/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 08-25-04 02:12 AM Link | Quote
Originally posted by Keikonium
Well, on this site the highest prime number is 2 to the power of 13,466,917 and it has 4,053,946 digits

This is a fairly old page so that number has probably been passed
Perfect number, Keik. Not prime. How the hell could 2^(anything) be a prime number, anyway? THINK.


(edited by Kratos Aurion on 08-24-04 05:13 PM)
Iggy Koopa

Red Cheep-cheep
Level: 24

Posts: 156/214
EXP: 76441
For next: 1684

Since: 03-16-04

Since last post: 66 days
Last activity: 12 days
Posted on 08-25-04 02:30 AM Link | Quote
He probably meant something like 213,466,917-1.
Alastor the Stylish
Hey! I made a cool game! It's called "I poisoned half the food, so if you eat you might die!" Have a taco.


Level: 114

Posts: 1996/7620
EXP: 16258468
For next: 51099

Since: 03-15-04
From: Oregon, US

Since last post: 2 hours
Last activity: 2 hours
Posted on 08-25-04 03:06 AM Link | Quote
Yeah, that or he misread it and thought perfect numbers and prime numbers are the same thing.
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 4344/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 08-25-04 03:55 AM Link | Quote
Originally posted by Cervantes
Originally posted by Kitten Yiffer
So people don't think it just shits out numbers...
It thought everyone knew what it is.
Not everyone have gone through it in school. Belive me I didn't. And I hadn't yet any usage of it yet... but I will soon. I'm going to program a encryption program in Java, and prime numbers are excellent for this.

Thought I did go and learn it myself in my free time.
Ran-chan

Moldorm
eek, when are they going to stop growing...
Level: 143

Posts: 2843/12781
EXP: 35293588
For next: 538220

Since: 03-15-04
From: Nerima District, Tokyo - Japan

Since last post: 12 hours
Last activity: 12 hours
Posted on 08-25-04 12:21 PM Link | Quote
I don
Jesper
Busy, busy, busy.
Level: 69

Posts: 712/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 08-26-04 02:52 AM Link | Quote
Originally posted by Millenium Neko
Let
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 4368/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 08-26-04 03:10 AM Link | Quote
And eh... what is the world record on this thing? Someone probably is having it shitting out very high prime numbers.
Jesper
Busy, busy, busy.
Level: 69

Posts: 714/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 08-26-04 03:19 AM Link | Quote
A little something on math in computers.

I wrote a program to print out part of the Fibonacci Series (1, 1, 2, 3, 5, 8, 13 ..). It does this for one second - starts from zero and just keeps adding. Here's the last number I got as input, wrapped to several rows:

26637621554905847147445327024884692677216120154526185436197037882845643156074699
43344237043693130233304905200447562782261773884306636499798536671691165896583039
63127820235074833946229486404312543803870603216914103527972905704641956818924173
57505052308527864375303364806192475684362384914297208276078316893839326854560802
04223109674406632518730277035738564502181303411468303865349856165762711836705254
50568954267657238276615349042962977512648739985071369013962082365905836153

That number has 475 digits!

Ofcourse, generating a prime is much slower since division is harder on the CPU than basic addition, but I think this proves my point anyway. Computers can do math insanely fast.

(Here's the source code of my program, adapted from another Wikipedia page. It's written in Perl.)
#! /usr/bin/perl

use bigint;

my ($a, $b) = (0, 1);
my $f = time;
for (;;) {
    if (time < $f + 2) {
      print("$a\n");
      ($a, $b) = ($b, $a+$b);
    } else { die; }
}



(edited by Jesper on 08-25-04 06:21 PM)
Kitten Yiffer

Purple wand
Furry moderator
Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien !
Level: 135

Posts: 4373/11162
EXP: 28824106
For next: 510899

Since: 03-15-04
From: Sweden

Since last post: 3 hours
Last activity: 4 min.
Posted on 08-26-04 03:57 AM Link | Quote
I'm so going to make a similar program... but in Java.

Yeah that program works quite well, it generated alot of prime numbers and very fast. Just then crash for some reason.
Ran-chan

Moldorm
eek, when are they going to stop growing...
Level: 143

Posts: 2870/12781
EXP: 35293588
For next: 538220

Since: 03-15-04
From: Nerima District, Tokyo - Japan

Since last post: 12 hours
Last activity: 12 hours
Posted on 08-26-04 01:03 PM Link | Quote
Originally posted by Jesper
Originally posted by Millenium Neko
Let
Jesper
Busy, busy, busy.
Level: 69

Posts: 718/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 08-26-04 02:11 PM Link | Quote
Originally posted by Kitten Yiffer
I'm so going to make a similar program... but in Java.

Yeah that program works quite well, it generated alot of prime numbers and very fast. Just then crash for some reason.
Yeah, it dies after one second. That's the purpose, to figure out how high it can go for one second. Again, that program did not generate primes exclusively, just numbers in the Fibonacci Series.
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Craziness Domain - The Prime Number Shitting Bear. | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.016 seconds.