Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Factorization of n = 87463 using the Quadratic Sieve Method, Lecture notes of Probability and Statistics

How to factorize the number 87463 using the quadratic sieve method. It provides the factor base, solutions for x2 ≡ n (mod p), the sieving process, and the calculation of the exponent vector and its corresponding solution v. The document concludes with the calculation of the gcds of x − y and x + y, which yield the factors of the number.

What you will learn

  • What is the Quadratic Sieve method used for?
  • How do you find the factor base in the Quadratic Sieve method?
  • What are the gcds of x − y and x + y in the Quadratic Sieve method?

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

myafen
myafen 🇬🇧

4.3

(8)

300 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Factorization of n= 87463 with the
Quadratic Sieve
To find a factor base consider the values of n
p:
p2 3 5 7 11 13 17 19 23 29 31 37
n
p1 1 111 1 1 1 1 1 11
We thus select the factor base 2,3,13,17,19,29.
Solutions for x2n(mod p)are:
p2 3 13 17 19 29
x1 1,2 5,8 7,10 5,14 12,17
We now start sieving, using a sieving interval of length
2·30 around bnc= 295.
For the values of xfor which x2nsplits completely,
the exponent vector modulo 2is:
x1 2 3 13 17 19 29
265 1 1 1 0 1 0 0
278 1 0 1 1 0 0 1
269 0 0 0 0 1 0 0
299 0 1 1 0 1 1 0
307 0 1 0 1 0 0 1
316 0 0 0 0 1 0 0
pf3

Partial preview of the text

Download Factorization of n = 87463 using the Quadratic Sieve Method and more Lecture notes Probability and Statistics in PDF only on Docsity!

Factorization of n = 87463 with the

Quadratic Sieve

To find a factor base consider the values of

(n p

(^ p^ 2 3^5 7 11 13 17 19^ 23 29^31 n p

We thus select the factor base 2 , 3 , 13 , 17 , 19 , 29. Solutions for x^2 ≡ n (mod p) are: p 2 3 13 17 19 29 x 1 1, 2 5, 8 7, 10 5, 14 12, 17

We now start sieving, using a sieving interval of length 2 · 30 around b

nc = 295. For the values of x for which x^2 − n splits completely, the exponent vector modulo 2 is:

x −1 2 3 13 17 19 29 265 1 1 1 0 1 0 0 278 1 0 1 1 0 0 1 269 0 0 0 0 1 0 0 299 0 1 1 0 1 1 0 307 0 1 0 1 0 0 1 316 0 0 0 0 1 0 0

We now solve (the matrix is transposed as we solve Av = 0 and not vA = 0 ):       

· v = 0

modulo 2. One solution is

v = (1, 1 , 1 , 0 , 1 , 0)

We thus take the 1st, 2nd, 3rd and the 4th x-value and get

x = 265 · 278 · 296 · 307 = 6694540240 ≡ 34757 (mod n)

y =

(265^2 − n) · (278^2 − n) · (296^2 − n) · (307^2 − n) = 2 · 34 · 132 · 17 · 29 = 13497354 ≡ 28052 (mod n)

This yields the gcds:

gcd(x − y, n) = 149, gcd(x + y, n) = 587

which give a factorization