Showing posts with label 2-almost prime. Show all posts
Showing posts with label 2-almost prime. Show all posts

Wednesday, 13 March 2024

More Sequences Involving SOD and POD

The terms SOD and POD are used here to refer to Sum Of Digits and Product Of Digits. I've made a post titled SOD ET AL on June 29th 2021. Quite recently on March 10th 2024, I made another post titled Permutations Involving Sum and Product of Digits and like that post, this post involves a combination of SOD and POD.

On March 2nd 2024, I turned 27362 days old and the number 27362 has the following property as noted in my Airtable record:

27362 is a number \(n\) without the digit 0 with two distinct prime factors such that \(n\) + SOD(\(n\)) and \(n\) + POD(\(n\)) both have two distinct prime factors. Here SOD stands for sum of digits and POD for product of digits. Note that this is different to the arithmetic and multiplicative digital roots of a number. Here the results for \(n\), \(n\) + SOD(\(n\)) and \(n\) + POD(\(n\)) are: $$ \begin{align} 27362 = 2 \times 13681\\27382 = 2 \times 13691\\27866 = 2 \times 13933 \end{align}$$The members of this sequence from 27362 up to 40000 are (permalink):

27362, 27373, 27389, 27395, 27419, 27443, 27493, 27515, 27535, 27571, 27578, 27598, 27635, 27641, 27649, 27757, 27842, 27849, 27899, 27933, 27934, 28141, 28187, 28235, 28293, 28321, 28345, 28369, 28498, 28529, 28769, 28783, 28811, 28846, 28874, 28963, 29219, 29227, 29263, 29278, 29291, 29335, 29377, 29485, 29487, 29534, 29543, 29553, 29593, 29594, 29617, 29626, 29657, 29765, 29773, 29797, 29951, 31187, 31273, 31435, 31439, 31462, 31618, 31619, 31631, 31677, 31693, 31754, 31762, 31767, 31783, 31826, 31874, 31893, 32161, 32177, 32179, 32221, 32449, 32521, 32527, 32534, 32551, 32629, 32666, 32735, 32755, 32819, 32827, 32845, 32863, 32881, 33121, 33133, 33431, 33458, 33499, 33523, 33526, 33643, 33658, 33659, 33671, 33729, 33837, 33842, 33877, 33926, 33947, 33963, 33983, 34315, 34321, 34363, 34467, 34514, 34531, 34555, 34634, 34733, 34754, 34829, 34837, 34873, 34966, 34973, 34993, 35138, 35218, 35219, 35233, 35318, 35366, 35414, 35477, 35522, 35611, 35614, 35633, 35657, 35678, 35693, 35726, 35761, 35782, 35789, 35813, 35857, 35887, 35927, 36111, 36154, 36169, 36178, 36193, 36227, 36289, 36398, 36447, 36463, 36485, 36535, 36577, 36641, 36733, 36759, 36853, 36893, 36961, 37165, 37239, 37381, 37486, 37586, 37615, 37678, 37787, 37837, 37865, 37943, 37981, 38137, 38179, 38243, 38245, 38297, 38359, 38422, 38429, 38463, 38473, 38489, 38515, 38549, 38615, 38758, 38771, 38837, 38849, 38854, 38914, 38926, 38957, 38978, 38983, 38999, 39127, 39145, 39257, 39413, 39453, 39481, 39637, 39661, 39723, 39747, 39811, 39871, 39917, 39941, 39959

We can extend this idea to sphenic numbers and consider numbers \(n\) without the digit 0 with three distinct prime factors such that \(n\) + SOD(\(n\)) and \(n\) + POD(\(n\)) both have three distinct prime factors. An example of such a number is 27544 where \(n\), \(n\) + SOD and \(n\) + POD factorise respectively as follows:$$ \begin{align} 27554 &= 2 \times 23 \times 599\\27577 &= 11 \times 23 \times 109\\28954 &= 2 \times 31 \times 467 \end{align}$$The numbers satisfying this condition from 27544 up to 40000 are:

27554, 27671, 27745, 27813, 27914, 27982, 28118, 28217, 28226, 28326, 28353, 28355, 28366, 28514, 28535, 28713, 28819, 28878, 28954, 29559, 29589, 29622, 29829, 29926, 29955, 29958, 31215, 31274, 31538, 31611, 31623, 31642, 31659, 31726, 31742, 31983, 32151, 32195, 32218, 32241, 32326, 32394, 32421, 32457, 32542, 32631, 32739, 32829, 32862, 32883, 32997, 33226, 33297, 33319, 33341, 33438, 33454, 33586, 33734, 33765, 33882, 33971, 34131, 34143, 34359, 34498, 34539, 34622, 34655, 34683, 34773, 34941, 34953, 34959, 34977, 35165, 35185, 35265, 35371, 35529, 35686, 35866, 35949, 36177, 36249, 36381, 36417, 36534, 36597, 36669, 36698, 36718, 36743, 36933, 37118, 37222, 37247, 37262, 37378, 37383, 37497, 37522, 37542, 38234, 38253, 38337, 38355, 38361, 38395, 38566, 38674, 39219, 39238, 39242, 39263, 39277, 39282, 39369, 39462, 39515, 39538, 39542, 39621, 39639

These sequences do not appear in the OEIS and I certainly won't be submitting them (pearls before swine) but they are interesting examples of sequences arising from a combination of SOD and POD.

Saturday, 2 December 2023

1-2-3-4 Factor Chains And Beyond

The number associated with my diurnal age today, 27271, has an interesting property. Firstly, it's prime. Now if we multiply it by 2 and add 1, we don't get another prime (which would make 27271 a Sophie Germain prime) but instead we get a semiprime:$$ \begin{align} 2 \times 27271+1 &= 54543 \\ &= 3 \times 18181 \end{align}$$Now if we repeat this process with the newly generated semiprime, we get a number with three factors:$$ \begin{align} 2 \times 54543+1 &= 109087 \\ &= 11 \times 47 \times 211 \end{align}$$Now repeating the process again, we end up with a number that has four (not distinct) prime factors:$$ \begin{align} 2 \times 109087+1 &= 218175 \\ &= 3 \times 5^2 \times 2909 \end{align} $$Numbers with this property form OEIS A235646 (permalink):


 A235646



Primes \(p\) such that \(b=2 \times p+1\) is semiprime, \(c=2 \times b+1\) is 3-almost prime and \(d=2 \times c+1\) is 4-almost prime.



The initial members of the sequence are:

43, 1429, 2239, 3319, 4831, 6379, 8821, 10501, 11383, 12781, 13003, 14771, 15091, 16063, 16759, 18223, 19213, 19681, 20021, 22571, 24103, 24109, 24571, 25939, 27271, 28933, 29833, 30241, 31723, 33679, 33811, 34381, 34781, 35591, 35863, 39373

As can be seen, such primes are not frequent and it will be quite some time before I celebrate another prime with this property. In fact, it won't occur until Tuesday, June 20th 2028.

The natural question to ask is can we extend this chain further so we have a 1-2-3-4-5 chain. The answer is yes. In the range up to one million, the primes with this property are:

197161, 267341, 283181, 470863, 543463, 646423, 751759, 911321, 934981

Let's take the first number in this sequence, 197161: $$ \begin{align} 2 \times 197161 +1 &= 394323\\ &= 3 \times 131441\\ 2 \times 394323 +1 &= 788647\\ &= 17 \times 23 \times 2017 \\2 \times 788647 + 1  &= 1577295\\ &= 3^2 \times 5 \times 35051\\2 \times 1577295 + 1&= 3154591 \\ &=11^2 \times 29^2 \times 31 \end{align}$$Can we go further? Well, in the range up to ten million, there are only two primes with this 1-2-3-4-5-6 property and they are 8651161 and 9723331 (permalink). Here are the factorisations for both numbers (permalink):

8651161
17302323 = 3 * 5767441
34604647 = 7 * 11 * 449411
69209295 = 3 * 5 * 17 * 271409
138418591 = 19^2 * 37 * 43 * 241
276837183 = 3^4 * 7 * 488249

9723331
19446663 = 3 * 6482221
38893327 = 11 * 37 * 95561
77786655 = 3 * 5 * 331 * 15667
155573311 = 19^2 * 23 * 41 * 457
311146623 = 3^3 * 53 * 103 * 2111

Of course, multiplication by 2 could be changed to multiplication by 3 (shades of Collatz) and in the range up to ten million there is only one prime that follows a 1-2-3-4-5-6 progression and that is 9203191 with the following progression:

9203191
27609574 = 2 * 13804787
82828723 = 283 * 541^2
248486170 = 2 * 5 * 59 * 421163
745458511 = 7^2 * 137 * 293 * 379
2236375534 = 2 * 17 * 37 * 61 * 151 * 193

A multiplication factor of 4 yields the primes 1876711, 6840241, 7704877, 9369589 (permalink) in the range up to ten million. Looking at the first prime 1876711 we get the following progression (permalink):

1876711
7506845 = 5 * 1501369
30027381 = 3 * 251 * 39877
120109525 = 5^2 * 401 * 11981
480438101 = 11 * 13^2 * 109 * 2371
1921752405 = 3^3 * 5 * 509 * 27967

I could keep going that that's probably enough. However, what if we increased the multiplication factor by 1 each time so that we have 2, 3, 4, 5, 6 etc. Well, in the range up to ten million, there is only one prime that satisfies the 1-2-3-4-5-6 progression and that is 2857427 (permalink) with the progression (permalink):

2857427
5714855 = 5 * 1142971
17144566 = 2 * 47 * 182389
68578265 = 5 * 7 * 859 * 2281
342891326 = 2 * 17 * 103 * 179 * 547
2057347957 = 7^3 * 29 * 107 * 1933

Of course if we specified that the prime factors must be distinct in the previous analyses, the previously discussed sequences would be drastically culled but that's perhaps a topic for a future post. Overall, let's not forget that all the properties just discussed are independent of the number base that is used.