Mini-challenge: First Prime of form 403333...
|
11-15-2016, 08:50 AM
(This post was last modified: 11-15-2016 11:50 AM by Thomas Ritschel.)
Post: #15
|
|||
|
|||
RE: Mini-challenge: First Prime of form 403333...
(11-14-2016 08:20 PM)Valentin Albillo Wrote: Well, I found it by myself. But I'm somewhat "preoccupied" since I spend much of my spare time on prime numbers and factorizations. The above factorization becomes quite natural if you look at the so called rep-digit numbers, for example: Code: (10^n-1) = 999999... Code: 10^6-1 = 999999 = (10^3-1) * (10^3+1) = 999 * 1001 Multiplying by some certain factors will be equivalent to prefixing the numbers by additional digits: Code: (25*10^10-1)/3 = 83333333333 If the multiplier itself is a square, then algebraic factorization is still possible: Code: (25*10^10-1)/3 = (5*10^5-1) * (5*10^5+1)/3 = 499999 * 166667 This kind of algebraic factorization is not restricted to polynomials of 2nd degree. It can easily be extended to higher degrees, for example: Code: 1331*10^3-1 = (11*10^1-1) * ((11*10^1)^2 + 11*10^1 + 1) Thus, in conclusion, I fully agree with you, Valentin: A little analysis can do much better than relying in just pure brute force! Kind regards, Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)