mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: irina
Forum: Programming 2018-05-28, 13:57
Replies: 2
Views: 841
Posted By irina
Arrow Mersenne prime number search algorithm

1. var k,l,n,s,j,d,c,y,r,x,i,h:biginteger;
begin
x:=31;
i:=32;
h:=1;
for var q:=1 to 100 do
begin
var a:=x div 2;
var b:=a-1;
repeat
Forum: Programming 2018-05-28, 13:55
Replies: 0
Views: 608
Posted By irina
Lightbulb algorithm for factoring a number into two factors

var k,l,n,s,j,d,c,y,r,b:biginteger;
begin
var x:=ReadString('введите число:').ToBigInteger;
var a:=x div 2;
repeat
b:=a;
a:=(a+x div a)div 2
until a>=b;
s:=a;
n:=x-sqr(s);
Forum: Programming 2018-05-28, 13:50
Replies: 6
Views: 1,252
Posted By irina
Forum: Programming 2015-07-11, 14:54
Replies: 6
Views: 1,252
Posted By irina
Algebraithm for calculating primes

For prime number A, there is only one value B, such that what А + В2 = С2
В = (А-1)/2
С = (А+1)/2
А = С2 – В2 = (С-В)*(С+В)
С – В = 1
If the number of semiprime A = k1 * k2, then there are at...
Showing results 1 to 4 of 4

 
All times are UTC. The time now is 21:05.

Fri Aug 14 21:05:27 UTC 2020 up 1 day, 17:40, 1 user, load averages: 1.68, 1.59, 1.58

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.