mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Miscellaneous Math (https://www.mersenneforum.org/forumdisplay.php?f=56)
-   -   This simple algorithm incomplete can only calculate prime numbers? (https://www.mersenneforum.org/showthread.php?t=20695)

Ale 2015-11-26 10:48

this is correct

number 8 :



(11:44) gp > 30474925270400000*3*2*4*5*3*6*7*8
%148 = 3686246960707584000000
(11:44) gp > isprime(%-1)
%149 = 1
(11:44) gp >


before at number 8 and 9 i have write ,30479 but was wrong

Ale 2015-11-26 10:56

this is correct

this is number 9:

(11:53) gp > 30474925270400000*3*2*4*5*3*6*7*8*3*2*4*5*6*3*7*8*9
%156 = 4012995891304704245760000000
(11:54) gp > isprime(%-1)
%157 = 1
(11:54) gp >


right now.

Ale 2015-11-26 11:20

numer 10 not

direct number 11

(12:16) gp > 30474925270400000*3*2*4*5*3*6*7*8*3*2*4*5*6*3*7*8*9*3*5*6*7*3*8*9*11
%187 = 6006973289776185691393228800000000
(12:16) gp > isprime(%-1)
%188 = 1
(12:17) gp >

Ale 2015-11-26 11:41

number 12:


*3*7*8*9*3*8*9*11*12
%219 = 258961483526405092926701654192947200000000
(12:38) gp > isprime(%-1)
%220 = 1
(12:38) gp >

Ale 2015-11-26 12:33

but number 13 is wrong

science_man_88 2015-11-26 12:37

[QUOTE=Ale;417307]but number 13 is wrong[/QUOTE]

okay so all I see is random number to me so there's really nothing to program from.

LaurV 2015-11-26 12:43

Move to misc math...

Ale 2015-11-26 13:10

But if now *3* get *5* , the number 13 is right

<*7*8*9*3*8*9*11*12*[B][U]5[/U][/B]*2*4*5*6*7*[B][U]5[/U][/B]*11*12*13
%373 = 18663872040715067857413241620994090598400000000000
(14:05) gp > isprime(%-1)
%374 = 1
(14:05) gp >

science_man_88 2015-11-26 13:14

[QUOTE=Ale;417311]But if now *3* get *5* , the number 13 is right

<*7*8*9*3*8*9*11*12*[B][U]5[/U][/B]*2*4*5*6*7*[B][U]5[/U][/B]*11*12*13
%373 = 18663872040715067857413241620994090598400000000000
(14:05) gp > isprime(%-1)
%374 = 1
(14:05) gp >[/QUOTE]

you know you can use the code tags they use the # symbol in the advanced reply setup.

Ale 2015-11-26 13:37

okay so all I see is random number to me so there's really nothing to program from.


no probem , is impossible , i know.

Ale 2015-11-26 13:38

i know the symbol


All times are UTC. The time now is 13:26.

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