- Jul 30, 2001
- 159
- 0
- 0
I need a really big random number, thousands of digits long. How can I get one easily?
Thanks in advance!
Thanks in advance!
Originally posted by: iamme
43848732983217498213743246325932598327498372483216452136328749832174832748321758635813248732849732148732165658475475489758165132864364873214987324732185632653214783274832748321753216593223104983240981236598317428731284975638217432748321
.....whew, how many is that?
Originally posted by: ScottyB
Originally posted by: iamme
43848732983217498213743246325932598327498372483216452136328749832174832748321758635813248732849732148732165658475475489758165132864364873214987324732185632653214783274832748321753216593223104983240981236598317428731284975638217432748321
.....whew, how many is that?
I don't know. How many is this: 54544484441321321266559546456456564556469247697121724798914622664614617461675647624564565475626544665546616121655175471524175421756217542155452175271525715247152417256417652175642157521754217521752175207521754217542712517524715241752157541752175254752547574562417562547842
Originally posted by: LordAccord
76292197291267142782916231716297413297821672167681267896173122761685721682167516872168526576512619657682879265751956765868165732159785216733869267916815672525959759167625527567212762987952617629219729126714278291623171629741329782167216768126789617312276168572168216751687216852657651261965768287926575195676586816573215978521673386926791681567252595975916762552756721276298795261776292197291267142782916231716297413297821672167681267896173122761685721682167516872168526576512619657682879265751956765868165732159785216733869267916815672525959759167625527567212762987952617762921972912671427829162317162974132978216721676812678961731227616857216821675168721685265765126196576828792657519567658681657321597852167338692679168156725259597591676255275672127629879526177629219729126714278291623171629741329782167216768126789617312276168572168216751687216852657651261965768287926575195676586816573215978521673386926791681567252595975916762552756721276298795261776292197291267142782916231716297413297821672167681267896173122761685721682167516872168526576512619657682879265751956765868165732159785216733869267916815672525959759167625527567212762987952617762921972912671427829162317162974132978216721676800000000000000I00000000can't000000000000believe000000000you000000000000scrolled0000000000all0000000000the000000000way0000000000over000000000000here000you0000WIN!
LoRdAccord
can't000000000000believe000000000you000000000000scrolled0000000000all0000000000the000000000way0000000000over000000000000here000you0000WIN!
Originally posted by: notfred
#!/usr/bin/perl
print "How many digits?";
$num = <>;
for ($i=0;$i<$num;$i++){
$j = rand 10;
$j = int $j;
if ($j==10){$j=9}
$out .= $j;
}
print "\n$out\n";
that's a perl script that will prompt you for a number of digits, and generate a random positive whole # based on that number of digits.