There is a set of non-square semiprimes defined by two criteria:
- the two prime factors concatenate in either order to form two new semiprimes
- the digits of the two prime factors can each be rearranged to form semiprimes
There is a set of non-square semiprimes defined by two criteria:
28269 is a composite number with the interesting property that if we insert the digit 7 in any position, the result is a prime number. Thus 728269, 278269, 287269, 282769, 282679 and 282697 are all prime. Such numbers belong to OEIS A216168 (permalink):
Up to 40000, the members of the sequence are:
1, 9, 27, 33, 39, 57, 87, 159, 177, 187, 603, 717, 753, 949, 1257, 1707, 2277, 2367, 4317, 4623, 4779, 4797, 5773, 6757, 6777, 7017, 7471, 7479, 7747, 7797, 7813, 7977, 8797, 9777, 9987, 10777, 11757, 17679, 28269, 28437, 29779, 34177, 34771
There is an associated OEIS sequence for inserting the digit 1. It is OEIS A216165 (permalink):
The initial members of this sequence are:
1, 49, 63, 81, 91, 99, 117, 123, 213, 231, 279, 319, 427, 459, 621, 697, 721, 801, 951, 987, 1113, 1131, 1261, 1821, 1939, 2101, 2149, 2211, 2517, 2611, 3151, 3219, 4011, 4411, 4887, 5031, 5361, 6231, 6487, 7011, 7209, 8671, 9141, 9801, 10051, 10161, 10281, 10603, 10921, 11121, 11127, 11211, 11641, 11767, 11791, 11869, 12997, 13111, 13143, 14311, 16911, 17023, 17541, 18081, 18619, 19677, 21039, 21711, 23289, 25197, 29169, 29971, 31111, 34777, 38559
Here is the associated OEIS A216166 sequence for inserting a 3 (permalink).
The initial members of this sequence are:
1, 121, 343, 361, 533, 637, 793, 889, 943, 1183, 3013, 3223, 3353, 3403, 3757, 3827, 3893, 4313, 4543, 4963, 8653, 10423, 14257, 20339, 23083, 23419, 30917, 33031, 33101, 33323, 33433, 33701, 33821, 34333, 34393, 35453, 36437, 36533, 39137, 39247
Here is the result for inserting the digit 9. I wasn't able to locate the OEIS sequence (permalink).
91, 209, 539, 749, 923, 931, 1079, 1139, 2717, 2959, 3971, 3979, 4559, 5629, 6401, 6739, 8213, 8491, 8939, 9607, 11089, 11227, 13943, 14269, 14371, 17381, 17689, 24059, 25517, 25937, 25949, 29087, 29197, 29419, 30989, 31691
There are various variations on this theme. Once can look at numbers, both composite and prime, or one can look at only primes. The insertion can be between digits but not at the beginning and end. The insertion can be only at the beginning and end etc. Let's consider one of these: OEIS A216167.
The number associated with my diurnal age today (28262) is what might be termed a "super sphenic number" as I'll explain in this post. Firstly however, its factorisation:$$28262=2 \times 13 \times 1087$$If we reverse its digits, we get the number 26282 and this number is also sphenic:$$26282 = 2 \times 17 \times 773$$Let's now concatenate the factors of 28262 in ascending order. This gives us the number 2131087 which is also sphenic:$$2131087 = 7 \times 167 \times 1823$$28262 has a sum of digits of 20 and if we add this to the original number we get the palindromic number 28282 which is also sphenic:$$28262+20=28282 = 2 \times 79 \times 179$$The number has a product of digits of 384 and if we subtract this from the original number we get 27878 which is sphenic:$$28262 - 384 = 27878 = 2 \times 53 \times 263$$If we consider only the internal digits of 28262, we get the number 826 which is also sphenic:$$2\, 826 \, 2 \rightarrow826=2 \times 7 \times 59$$When a sphenic number is considered as a sphenic brick then it has an associated number in the form of the brick's surface area. In the case of 28262, this associated surface area is 32662 square units and this number too is sphenic:$$32662 = 2 \times 7 \times 2333$$28262 has a sum of proper divisors that is also sphenic:$$ \sigma(28262) - 28262 =17434 = 2 \times 23 \times 379 $$The number has a sum of prime factors (1102) that is sphenic:$$2 +13+1087=1102 = 2 \times 19 \times 29$$28262 has a totient of 13032 which is not sphenic but its cototient (number - totient) of 15230 is:$$28262 - 13032 = 15230 = 2 \times 5 \times 1523$$So we can see that 28262 may well be termed a super sphenic number because of the above associations.
Some time ago I got Gemini to create a 197 page document that identifies attractors and vortices arising from the recursive ODD - and EVEN + algorithm. It also lists their number of captives. Today I got Gemini to summarise and reformat this information so that it is more readable using the exact same template it created for my August 15th post titled ODD + and EVEN - Improved Format. That 142 page document can be located here. Here are some excerpts:
![]() |
Figure 2 |
![]() |
Table 1 |
![]() |
Table 2 |
![]() |
Table 3 |
![]() |
| Table 4 |
I got to thinking about semiprimes and how many of them have the property that the digits of their two prime factors can both be rearranged to form two new semiprimes. It's as if two additional semiprimes are hiding within the factors of the original semiprime.
It's simple enough to investigate and I could have written the code but I lazily got Gemini to do it for me. It turns out that there are 1077 such numbers in the range up to 40000 (permalink). the first such number is 361:$$ \begin{align} 361 &=19 \times 19 \\19 &\rightarrow 91 =7 \times 13 \end{align}$$The next such number is not square and is 779:$$ \begin{align} 779 &= 19 \times 41 \\ 19 &\rightarrow 91 =7 \times 13 \\ 41 &\rightarrow 14 =2 \times 7 \end{align}$$Here is a list of the numbers from 28247 (my diurnal age tomorrow) up to 40000:
28247, 28253, 28261, 28291, 28331, 28337, 28367, 28417, 28423, 28459, 28481, 28529, 28667, 28673, 28709, 28733, 28757, 28801, 28811, 28841, 28891, 28907, 28937, 28939, 28943, 28967, 28969, 28991, 28999, 29083, 29089, 29093, 29111, 29143, 29149, 29177, 29299, 29317, 29321, 29329, 29353, 29369, 29431, 29441, 29479, 29503, 29507, 29521, 29539, 29591, 29621, 29657, 29677, 29713, 29747, 29773, 29797, 29839, 29849, 29893, 29929, 29987, 30001, 30031, 30077, 30127, 30157, 30179, 30221, 30227, 30263, 30299, 30301, 30343, 30353, 30409, 30461, 30463, 30533, 30571, 30607, 30629, 30647, 30691, 30739, 30761, 30791, 30799, 30847, 30857, 30913, 30917, 30929, 30967, 30973, 31067, 31103, 31111, 31133, 31201, 31313, 31373, 31429, 31439, 31457, 31459, 31483, 31529, 31597, 31621, 31631, 31673, 31693, 31711, 31747, 31777, 31819, 31831, 31853, 31861, 31877, 31897, 31919, 31921, 31937, 31949, 32041, 32101, 32111, 32167, 32171, 32231, 32239, 32243, 32267, 32273, 32281, 32287, 32293, 32387, 32399, 32471, 32477, 32489, 32639, 32651, 32677, 32699, 32701, 32723, 32737, 32743, 32761, 32807, 32863, 32899, 32927, 32951, 33017, 33043, 33067, 33079, 33127, 33193, 33217, 33221, 33239, 33251, 33307, 33389, 33401, 33421, 33443, 33463, 33499, 33571, 33661, 33689, 33743, 33763, 33793, 33841, 33877, 33907, 33953, 33973, 33989, 33991, 34079, 34081, 34093, 34117, 34121, 34163, 34189, 34219, 34271, 34291, 34387, 34393, 34399, 34417, 34547, 34553, 34571, 34579, 34609, 34633, 34637, 34717, 34733, 34777, 34789, 34873, 34889, 34921, 34927, 34933, 34943, 34973, 34987, 35033, 35093, 35137, 35183, 35209, 35219, 35237, 35263, 35297, 35303, 35341, 35359, 35383, 35389, 35459, 35473, 35549, 35561, 35587, 35611, 35647, 35657, 35663, 35669, 35687, 35701, 35723, 35741, 35767, 35773, 35813, 35881, 35891, 35909, 35939, 35941, 35947, 35953, 35957, 36031, 36077, 36079, 36089, 36119, 36121, 36143, 36167, 36199, 36203, 36233, 36331, 36347, 36359, 36367, 36391, 36403, 36437, 36481, 36503, 36521, 36557, 36581, 36623, 36679, 36689, 36727, 36851, 36853, 36863, 36937, 36977, 36989, 37031, 37069, 37109, 37127, 37211, 37229, 37249, 37327, 37351, 37391, 37399, 37459, 37487, 37523, 37601, 37627, 37669, 37711, 37753, 37769, 37801, 37819, 37823, 37837, 37867, 37883, 37901, 37931, 37937, 37943, 37969, 37979, 37981, 38021, 38041, 38089, 38107, 38117, 38141, 38173, 38191, 38209, 38243, 38263, 38293, 38323, 38417, 38429, 38477, 38497, 38513, 38527, 38551, 38581, 38587, 38681, 38741, 38761, 38771, 38807, 38809, 38827, 38869, 38881, 38911, 38957, 38963, 38989, 38999, 39007, 39037, 39059, 39073, 39131, 39167, 39173, 39187, 39197, 39283, 39311, 39337, 39379, 39407, 39433, 39539, 39577, 39617, 39647, 39653, 39691, 39707, 39713, 39751, 39757, 39803, 39811, 39881, 39913, 39943, 39947
It was quite serendipitous that I thought about these sorts of numbers because, as I said, I'm 28247 days old tomorrow and this number has the property that:$$ \begin{align} 28247 &= 47 \times 601 \\47 &\rightarrow 74 =2 \times 37 \\ 601 &\rightarrow 106 =2 \times 53 \end{align}$$From my previous examples, it might look as if the two factors are having their digits reversed but remember the digits are being rearranged and not necessarily reversed. Take 28253 as an example:$$ \begin{align} 28253 &= 19 \times 1487 \\ 19 &\rightarrow 91=7 \times 13\\ 1487 &\rightarrow 7841 \text{ which is prime} \\1487 &\rightarrow 7814 = 2 \times 3907 \end{align}$$Of course this idea can be extended to sphenic numbers where each the three factors have digits that can be rearranged to form three new sphenic numbers. However, these numbers are comparatively speaking rather large. The first is 1113121 (permalink):$$ \begin{align} 1113121 &= 101 \times 103 \times 107 \\ 101&\rightarrow 110 =2 \times 5 \times 11 \\ 103 &\rightarrow 130 =2 \times 5 \times 13 \\ 107 &\rightarrow 170 = 2 \times 5 \times 17 \end{align}$$Gemini gives a good explanation of why the numbers need to be so large (link).
Consider the number 28235 that is my diurnal age today. It has a circulant matrix with a determinant 10100 that is a pronic number since 10100 = 100 x 101.$$\begin{bmatrix}
2 & 8 & 2 & 3 & 5 \\
8 & 2 & 3 & 5 & 2 \\
2 & 3 & 5 & 2 & 8 \\
3 & 5 & 2 & 8 & 2 \\
5 & 2 & 8 & 2 & 3
\end{bmatrix}$$What's interesting is that most of the permutations of the digits of 28235 have determinants of their circulant matrices that are also pronic (permalink).
Number | Determinant | Factorisation ------------------------------------------------ 22358 | 15500 | 124 x 125 22385 | 10100 | 100 x 101 22538 | 19100 | 22583 | 10100 | 100 x 101 22835 | 19100 | 22853 | 15500 | 124 x 125 23258 | 19100 | 23285 | 19100 | 23528 | 10100 | 100 x 101 23582 | 15500 | 124 x 125 23825 | 15500 | 124 x 125 23852 | 10100 | 100 x 101 25238 | 15500 | 124 x 125 25283 | 15500 | 124 x 125 25328 | 10100 | 100 x 101 25382 | 19100 | 25823 | 19100 | 25832 | 10100 | 100 x 101 28235 | 10100 | 100 x 101 28253 | 10100 | 100 x 101 28325 | 15500 | 124 x 125 28352 | 19100 | 28523 | 19100 | 28532 | 15500 | 124 x 125 32258 | 10100 | 100 x 101 32285 | 15500 | 124 x 125 32528 | 15500 | 124 x 125 32582 | 19100 | 32825 | 10100 | 100 x 101 32852 | 19100 | 35228 | 19100 | 35282 | 10100 | 100 x 101 35822 | 15500 | 124 x 125 38225 | 19100 | 38252 | 15500 | 124 x 125 38522 | 10100 | 100 x 101 52238 | 10100 | 100 x 101 52283 | 19100 | 52328 | 19100 | 52382 | 15500 | 124 x 125 52823 | 10100 | 100 x 101 52832 | 15500 | 124 x 125 53228 | 15500 | 124 x 125 53282 | 10100 | 100 x 101 53822 | 19100 | 58223 | 15500 | 124 x 125 58232 | 19100 | 58322 | 10100 | 100 x 101 82235 | 15500 | 124 x 125 82253 | 19100 | 82325 | 19100 | 82352 | 10100 | 100 x 101 82523 | 15500 | 124 x 125 82532 | 10100 | 100 x 101 83225 | 10100 | 100 x 101 83252 | 15500 | 124 x 125 83522 | 19100 | 85223 | 10100 | 100 x 101 85232 | 19100 | 85322 | 15500 | 124 x 125
Number | Determinant | Factorisation ------------------------------------------------ 22378 | 14762 | 121 x 122 22387 | 11462 | 22738 | 27962 | 22783 | 11462 | 22837 | 27962 | 22873 | 14762 | 121 x 122 23278 | 27962 | 23287 | 27962 | 23728 | 11462 | 23782 | 14762 | 121 x 122 23827 | 14762 | 121 x 122 23872 | 11462 | 27238 | 14762 | 121 x 122 27283 | 14762 | 121 x 122 27328 | 11462 | 27382 | 27962 | 27823 | 27962 | 27832 | 11462 | 28237 | 11462 | 28273 | 11462 | 28327 | 14762 | 121 x 122 28372 | 27962 | 28723 | 27962 | 28732 | 14762 | 121 x 122 32278 | 11462 | 32287 | 14762 | 121 x 122 32728 | 14762 | 121 x 122 32782 | 27962 | 32827 | 11462 | 32872 | 27962 | 37228 | 27962 | 37282 | 11462 | 37822 | 14762 | 121 x 122 38227 | 27962 | 38272 | 14762 | 121 x 122 38722 | 11462 | 72238 | 11462 | 72283 | 27962 | 72328 | 27962 | 72382 | 14762 | 121 x 122 72823 | 11462 | 72832 | 14762 | 121 x 122 73228 | 14762 | 121 x 122 73282 | 11462 | 73822 | 27962 | 78223 | 14762 | 121 x 122 78232 | 27962 | 78322 | 11462 | 82237 | 14762 | 121 x 122 82273 | 27962 | 82327 | 27962 | 82372 | 11462 | 82723 | 14762 | 121 x 122 82732 | 11462 | 83227 | 11462 | 83272 | 14762 | 121 x 122 83722 | 27962 | 87223 | 11462 | 87232 | 27962 | 87322 | 14762 | 121 x 122
Let's formalise the concept of internal digits. Take a number like 28211. It's prime but if we remove the leftmost digits (2) and the rightmost digit (1), we are left with the number 821. This is the number within a number and it happens to be prime also. It is thus a member of OEIS A069686:
The members of this sequence from 28000 to 40000 are (permalink):
28097, 28099, 28111, 28211, 28219, 28277, 28279, 28297, 28393, 28537, 28571, 28573, 28579, 28591, 28597, 28631, 28771, 28813, 28817, 28837, 28871, 28879, 29077, 29191, 29297, 29411, 29473, 29531, 29537, 29671, 29717, 29833, 29837, 29917, 30029, 30059, 30071, 30113, 30119, 30133, 30137, 30139, 30197, 30293, 30313, 30319, 30431, 30539, 30593, 30671, 30677, 30713, 30839, 30893, 30971, 30977, 31013, 31019, 31033, 31039, 31079, 31091, 31139, 31271, 31277, 31319, 31379, 31391, 31393, 31397, 31511, 31513, 31517, 31573, 31793, 31799, 31817, 31973, 31991, 32117, 32119, 32233, 32237, 32297, 32299, 32411, 32413, 32573, 32579, 32633, 32693, 32713, 32717, 32719, 32771, 32779, 32831, 32833, 32839, 32933, 32939, 33071, 33073, 33113, 33119, 33179, 33311, 33317, 33377, 33479, 33493, 33533, 33599, 33679, 33739, 33791, 33797, 33893, 34019, 34211, 34213, 34217, 34313, 34319, 34337, 34439, 34499, 34613, 34631, 34673, 34679, 34871, 34877, 34913, 34919, 35099, 35419, 35573, 35771, 35879, 35933, 35993, 35999, 36011, 36013, 36017, 36073, 36131, 36137, 36191, 36313, 36319, 36433, 36473, 36479, 36599, 36739, 36779, 36833, 36913, 36919, 37013, 37019, 37097, 37199, 37273, 37277, 37337, 37339, 37397, 37511, 37517, 37571, 37573, 37579, 37619, 37691, 37693, 37699, 37871, 37879, 38113, 38119, 38219, 38231, 38237, 38239, 38273, 38299, 38393, 38593, 38639, 38833, 38839, 38873, 39079, 39113, 39119, 39191, 39199, 39293, 39371, 39373, 39419, 39671, 39679, 39719, 39779, 39839, 39971, 39979
There is a category of prime numbers with the property that when both the sum of their digits and the product of their digits is added to the number then the new, resultant numbers are also prime. An example would be 28181 with a sum of digits of 20 and a product of digits of 128 where:$$ \begin{align} 28181 + 20 &= 28201 \text{ prime} \\ 28181 + 128 &= 28309 \text{ prime} \end{align}$$In the range up to 40000, these primes have a density of 7.376% compared to all primes. Here is a list of such primes between 28000 and 40000 (permalink):
28097, 28181, 28703, 28901, 29153, 29179, 29209, 30089, 30119, 30203, 30313, 30449, 30469, 30539, 30557, 30649, 30661, 30713, 30803, 30809, 30829, 31019, 31307, 32063, 32069, 32083, 32173, 32203, 32401, 32687, 32957, 32971, 33013, 33037, 33091, 33301, 33413, 33547, 33581, 33587, 33769, 33851, 34313, 34667, 35053, 35059, 35251, 35257, 35323, 35507, 35509, 35521, 35569, 35831, 36209, 36229, 36469, 36559, 36607, 36919, 37019, 37039, 37097, 37321, 37369, 37501, 37507, 37547, 37871, 38047, 38351, 38959, 39019, 39079, 39103, 39161, 39301, 39521
A composite numbers is primeable if it can be made prime by changing a single digit. If it cannot, then it is said to be unprimeable. What struck me about the number associated with my diurnal age today (28169) is how many ways (10) in which it can be made prime.
28169 is NOT unprimeable. It can be made prime with the following changes (permalink):
- Changing the '2' at position 1 (from the left) to '1' yields 18169This got me thinking about highly primeable numbers and what numbers are record breakers by setting records for the number of ways in which they can be made prime. I got Gemini to write a program to investigate this and here is what it came up with in the range up to 100000 (permalink):
Record-Breaking Primeable Numbers----------------------------------------Number | Ways to Make Prime----------------------------------------4 | 421 | 733 | 8111 | 10133 | 11177 | 13357 | 141001 | 154221 | 1610759 | 1711487 | 1842189 | 20
----------------------------------------
Here is the list of numbers: 4, 21, 33, 111, 133, 177, 357, 1001, 4221, 10759, 11487, 42189.
So we see that 28169, though highly primeable, is NOT a record breaker.
Let's look at the 20 ways in which 42189 can be made prime:
42189 is NOT unprimeable. It can be made prime with the following changes (permalink):
- Changing the '4' at position 1 (from the left) to '2' yields 22189 - Changing the '4' at position 1 (from the left) to '3' yields 32189 - Changing the '4' at position 1 (from the left) to '5' yields 52189 - Changing the '4' at position 1 (from the left) to '6' yields 62189 - Changing the '4' at position 1 (from the left) to '8' yields 82189 - Changing the '4' at position 1 (from the left) to '9' yields 92189 - Changing the '2' at position 2 (from the left) to '0' yields 40189 - Changing the '2' at position 2 (from the left) to '1' yields 41189 - Changing the '2' at position 2 (from the left) to '3' yields 43189 - Changing the '2' at position 2 (from the left) to '4' yields 44189 - Changing the '2' at position 2 (from the left) to '7' yields 47189 - Changing the '1' at position 3 (from the left) to '0' yields 42089 - Changing the '1' at position 3 (from the left) to '5' yields 42589 - Changing the '1' at position 3 (from the left) to '6' yields 42689 - Changing the '1' at position 3 (from the left) to '9' yields 42989 - Changing the '8' at position 4 (from the left) to '3' yields 42139 - Changing the '8' at position 4 (from the left) to '6' yields 42169 - Changing the '8' at position 4 (from the left) to '7' yields 42179 - Changing the '9' at position 5 (from the left) to '1' yields 42181 - Changing the '9' at position 5 (from the left) to '7' yields 42187While the above table shows record breakers, there are other numbers that equal existing records but do NOT set those records themselves. The following table shows these numbers (permalink) in the range up to 100,000.
Numbers Equaling an Existing Record----------------------------------------Number | Ways to Make Prime----------------------------------------6 | 48 | 49 | 410 | 412 | 414 | 415 | 416 | 418 | 427 | 749 | 863 | 877 | 8119 | 10147 | 11153 | 111011 | 151099 | 151209 | 151623 | 1510637 | 1613699 | 1814421 | 1816457 | 1821717 | 1831647 | 18----------------------------------------
Here is a comma-separated list of these numbers:
6, 8, 9, 10, 12, 14, 15, 16, 18, 27, 49, 63, 77, 119, 147, 153, 1011, 1099, 1209, 1623, 10637, 13699, 14421, 16457, 21717, 31647