mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PARI/GP (https://www.mersenneforum.org/forumdisplay.php?f=155)
-   -   PARI's commands (https://www.mersenneforum.org/showthread.php?t=13636)

CRGreathouse 2010-12-01 23:45

[QUOTE=3.14159;239539]I figured out how to falsify factoring a large number (somewhat)[/QUOTE]

Getting there. As it happens that could never be the output of factor() for at least two reasons. (Can you guess either?)

CRGreathouse 2010-12-01 23:46

[QUOTE=3.14159;239541]Thanks. I get + 1 years added to my current age today.[/QUOTE]

Beginning programmer:
piage = piage + 1;

sm:
piAge += 1;

me:
pi.age++;

3.14159 2010-12-01 23:48

[QUOTE=CRGreathouse;239543]Getting there. As it happens that could never be the output of factor() for at least two reasons. (Can you guess either?)[/QUOTE]

1. Far too large.
2. Takes too long.

science_man_88 2010-12-01 23:53

[QUOTE=CRGreathouse;239543]Getting there. As it happens that could never be the output of factor() for at least two reasons. (Can you guess either?)[/QUOTE]

1) the factors look familiar ( like the bases of the exponents to me)
2) because factor() uses prime factors and exponents but only the base is listed ?

3.14159 2010-12-01 23:54

[QUOTE=science_man_88;239547]1) the factors look familiar ( like the bases of the exponents to me)
2) because factor() uses prime factors and exponents but only the base is listed ?[/QUOTE]

2) is incorrect. Both primes and exponents are listed.

CRGreathouse 2010-12-01 23:55

[QUOTE=3.14159;239545]1. Far too large.
2. Takes too long.[/QUOTE]

Those look like arguments that it couldn't reasonably appear, but I meant 'not even if there was lots of time', say 2^500 seconds. :smile:

(Good try, though!)

3.14159 2010-12-01 23:55

[QUOTE=CRGreathouse;239544]Beginning programmer:
piage = piage + 1;

sm:
piAge += 1;

me:
pi.age++;[/QUOTE]

I'm guessing the last one is C?

CRGreathouse 2010-12-01 23:56

[QUOTE=3.14159;239550]I'm guessing the last one is C?[/QUOTE]

They are, respectively, GP, GP, and GP.

3.14159 2010-12-01 23:57

[QUOTE=CRGreathouse;239549]Those look like arguments that it couldn't reasonably appear, but I meant 'not even if there was lots of time', say 2^500 seconds. :smile:

(Good try, though!)[/QUOTE]

And, those numbers would be too large to even handle, let alone make some computations with, and they're not in order from least to greatest.

3.14159 2010-12-01 23:58

[QUOTE=CRGreathouse;239551]They are, respectively, GP, GP, and GP.[/QUOTE]

O rly?

science_man_88 2010-12-01 23:58

[url]http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_PARI/GP[/url]

Is what we've been trying to clear Pi.


All times are UTC. The time now is 23:10.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.