Binary Algorithm for Finding Prime Numbers on Segments of Large Dimensions

A matrix model of subsequence of natural numbers with a multiplicative basis from the first prime numbers is proposed. The matrix model is a square matrix, where vector columns are arithmetic progressions with difference and number of progressions equal to product of base elements. By crossing out arithmetic progressions with first terms which are multiples of base elements, we obtain a symmetric sparse matrix that contains all the prime numbers of subsequence of natural numbers, except for the base ones, which increases the density of prime numbers in sparse matrices. Sparse matrices are not formed clearly, only the vector of first terms of arithmetic progressions is formed. Properties of sparse matrices have been proven. Formulas that speed up the calculation of compound numbers in arithmetic progressions have been derived, the structures of vector elements of first terms of arithmetic progressions have been determined, the connectivity of symmetric parts of sparse matrices has been investigated. With the expansion of the base the number of pairs of elements with the difference equal to the power of two («twins», «fours», etc.) increases in the vector of first terms. This is a necessary condition for the existence of constants for which linear equations of two variables can have an infinite set of solutions in prime numbers. The irregularity of distribution of prime numbers in subsequences of natural numbers is related to the structure of elements of the vector of first terms. An algorithm for finding prime numbers on segments of large dimensions with a parallel calculation process has been built. The proposed algorithm is binary to algorithms for sifting subsequences of natural numbers by prime divisors. In these algorithms, it is not possible to parallelize the calculation process, since screening procedure requires storing the numerical information from the preceding steps (vector model of array processing). The binary algorithm calculates compound numbers in each pair of arithmetic progressions with symmetric first terms simultaneously, using only vector of the first terms of arithmetic progressions, which makes possible processing of large-dimensional arrays

Authors

Publication Details

Journal
Mathematical and computer modelling Series Physical and mathematical sciences
Published
2024-09-30
DOI
https://doi.org/10.32626/2308-5878.2024-25.6-19
Citations
1
Primary Topic
History and Theory of Mathematics
Type
article
Field-Weighted Citation Impact
7.18
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Binary Algorithm for Finding Prime Numbers on Segments of Large Dimensions

Vasyl Abramchuk, Ihor Ihor Abramchuk
1 citations
Mathematical and computer modelling Series Physical and mathematical sciences
History and Theory of Mathematics
7.18
article

Binary Algorithm for Finding Prime Numbers on Segments of Large Dimensions

Vasyl Abramchuk, Ihor Ihor Abramchuk
article en
1 citations

Abstract

A matrix model of subsequence of natural numbers with a multiplicative basis from the first prime numbers is proposed. The matrix model is a square matrix, where vector columns are arithmetic progressions with difference and number of progressions equal to product of base elements. By crossing out arithmetic progressions with first terms which are multiples of base elements, we obtain a symmetric sparse matrix that contains all the prime numbers of subsequence of natural numbers, except for the base ones, which increases the density of prime numbers in sparse matrices. Sparse matrices are not formed clearly, only the vector of first terms of arithmetic progressions is formed. Properties of sparse matrices have been proven. Formulas that speed up the calculation of compound numbers in arithmetic progressions have been derived, the structures of vector elements of first terms of arithmetic progressions have been determined, the connectivity of symmetric parts of sparse matrices has been investigated. With the expansion of the base the number of pairs of elements with the difference equal to the power of two («twins», «fours», etc.) increases in the vector of first terms. This is a necessary condition for the existence of constants for which linear equations of two variables can have an infinite set of solutions in prime numbers. The irregularity of distribution of prime numbers in subsequences of natural numbers is related to the structure of elements of the vector of first terms. An algorithm for finding prime numbers on segments of large dimensions with a parallel calculation process has been built. The proposed algorithm is binary to algorithms for sifting subsequences of natural numbers by prime divisors. In these algorithms, it is not possible to parallelize the calculation process, since screening procedure requires storing the numerical information from the preceding steps (vector model of array processing). The binary algorithm calculates compound numbers in each pair of arithmetic progressions with symmetric first terms simultaneously, using only vector of the first terms of arithmetic progressions, which makes possible processing of large-dimensional arrays

Mathematical and computer modelling Series Physical and mathematical sciencesVol. 25
Openalex Percentile: Top 5%
History and Theory of Mathematics
7.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.