Showing posts with label odd. Show all posts
Showing posts with label odd. Show all posts

Tuesday, 18 August 2026

ODD - and EVEN + Improved Format

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 1


Figure 2


Table 1


Table 2


Table 3

Table 4

Notice that while 8987 has the record number of captives under the ODD - and EVEN + recursive algorithm (in the range up to 40000), it has ZERO captives under the ODD + and EVEN - recursive algorithm. Conversely, while 38013 is a vortical in the mighty vortex {38013, 38012, 38006, 37995, 38028} with 564 captives under the ODD + and EVEN - recursive algorithm, it is a mere captive of the attractor 38050 under the ODD - and EVEN + recursive algorithm.

Saturday, 15 August 2026

ODD + and EVEN - Improved Format

Some time ago I got Gemini to carry out an analysis for me of attractors and vortices in the range up to 40000 under the ODD + and EVEN - algorithm. I copied the output into a Google document that listed: 

  • each attractor and how many captives it had
  • each vortex (along with the vorticals that comprised it)
  • the number of captives the vortex had
Here is the information the 193 page document displays for the attractor 39642:
  • Attractor: 39642
  • Captive Count: 395
  • Captives: [38997, 39017, 39035, 39037, 39039, 39053, 39055, 39059, 39063, 39065, 39070, 39071, 39072, 39073, 39074, 39075, 39076, 39077, 39078, 39083] ... (and 375 more)
Here is the information the documents displays for the vortex [38013, 38012, 38006, 37995, 38028]:
  • Vortex (Vorticals): [38013, 38012, 38006, 37995, 38028]
  • Captive Count: 564
  • Captives: [37055, 37075, 37097, 37099, 37107, 37123, 37125, 37127, 37133, 37135, 37137, 37139, 37141, 37143, 37145, 37149, 37150, 37151, 37152, 37153] ... (and 544 more)
The attractors and vortices are arranged in descending order by number of captives. The information is readily accessible but I thought I'd use Gemini again to improve the formatting of the document to make it more readable. Figure 1 shows the opening page of the 137 page document and Figure 2 shows the second page.


Figure 1


Figure 2

The document lists the attractors in ascending order and also in descending order by number of captives (see Tables 1 and 2 for the start of each table).


Table 1


Table 2

The document goes on to list vortices in ascending order and also in descending order by number of captives (see Tables 3 and 4):


Table 3


Table 4

Overall the document provides an excellent organisation of the data and I'll roll this out this the results for the ODD - and EVEN + algorithm and the PRIME + NON-PRIME - algorithm in the near future.

Friday, 14 August 2026

ODD + and EVEN - Trajectory Lengths

Let's revisit the ODD + and EVEN - algorithm that I first discussed in a post titled Odds and Evens from June of 2021. In that post, I looked at the trajectory lengths of numbers up to 100,000 and Figure 1 shows a graph summarising what I found.


Figure 1: permalink

I also found that in the range up to 100,000 there were 3725 numbers that are attractors, in other words the sums of their odd and even digits are equal. Of these, 301 are prime. These number belong to OEIS 
A036301:


 A036301

Numbers whose sum of even digits and sum of odd digits are equal.    

I then extended the range to 200,000 and found a number (158893) that required 91 steps before it entered a loop or, to put it another way, it was captured by a vortex. In this case, the vortex consisted of the vorticals 160028, 160013, 160012, 160006, 159995, 160033, 160034. Figure 2 shows a graph of the trajectories:


Figure 2: permalink

I noted that the
 average trajectory length has increased from 8.58 to 10.6. Back in 2021 I don't think I was using a Jupyter notebook and couldn't investigate further beyond 200,000 without SageMathCell timing out. With the Jupyter notebook, I was able to extend the search to one million and Figure 3 shows a graph of the trajectories:


Figure 3: permalink 
(will need a Jupyter notebook)

Over this range, the average trajectory length has increased to 14 and the record step length has increases to 287 compared to 91 in the range up to 200,000 and 81 in the range up to 100,000.

In that original blog post, I also looked at the proportion of numbers that were attractors compared to those numbers that were captives of attractors or that entered loops (this included vorticals and captives of vortices). I considered a range up to 100,000. These were the results (permalink)
  • total of numbers that are captives of attractors 58977 up to 100000 or 59.0 percent
  • total of numbers that end in a loop is 37298 up to 100000 or 37.3 percent
  • total number of attractors up to 100000 is 3725 or 3.73 percent
Using my Jupyter notebook to extend the range to one million, the results were:

  • total of numbers that are captives of attractors is 511859 up to 1000000 or 51.2 percent

  • total of numbers that end in a loop is 463061 up to 1000000 or 46.3 percent
  • total number of attractors up to 1000000 is 25080 or 2.51 percent

Friday, 3 July 2026

28215: An Interesting Number

I've heard it said that all numbers are interesting and that, if a number is not, then it's interesting because it's not. The number associated with my diurnal age today (\( \textbf{28215}\) ) is definitely interesting. 

FIRST INTERESTING PROPERTY

Its prime factorisation is as follows:$$28215=3^3 \times 5 \times 11 \times 19$$It has 32 proper divisors and these are:

1, 3, 5, 9, 11, 15, 19, 27, 33, 45, 55, 57, 95, 99, 135, 165, 171, 209, 285, 297, 495, 513, 627, 855, 1045, 1485, 1881, 2565, 3135, 5643, 9405

The sum of these divisors is 29385 and so the number is abundant because this sum exceeds the number itself. Furthermore, all of these divisors are deficient and this makes it primitive abundant. Lastly the number is odd. This makes 28215 an odd primitive abundant number and these sorts of numbers are quite rare. Here is the list of the 50 such numbers up to 40000 (permalink):

945, 1575, 2205, 3465, 4095, 5355, 5775, 5985, 6435, 6825, 7245, 7425, 8085, 8415, 8925, 9135, 9555, 9765, 11655, 12705, 12915, 13545, 14805, 15015, 16695, 18585, 19215, 19635, 21105, 21945, 22365, 22995, 23205, 24885, 25935, 26145, 26565, 28035, \( \textbf{28215}\), 29835, 30555, 31395, 31815, 32445, 33345, 33495, 33915, 34155, 35805, 39585

SECOND INTERESTING PROPERTY


It can be seen from its factorisation that 28215 is 6-almost prime and its reversal, 51282, is also 6-almost prime:$$ \begin{align} 28215 &=3^3 \times 5 \times 11 \times 19 \\ 51282 &= 2 \times 3^2 \times 7 \times 11 \times 37 \end{align}$$While this property is not quite are rare as being odd primitive abundant, there are still only 118 such numbers in the range up to 40000. These are (permalink):

2576, 2772, 2970, 2992, 4284, 4356, 4410, 4600, 4698, 4824, 5265, 5625, 6534, 6752, 6776, 6900, 8008, 8250, 8964, 10710, 10890, 13140, 13986, 16236, 16335, 17577, 18504, 19494, 20286, 20574, 21112, 21114, 21150, 21160, 21336, 21492, 21576, 21609, 21712, 21900, 21912, 21996, 22392, 22770, 22788, 22824, 22869, 23058, 23247, 23250, 23496, 23562, 23580, 23598, 23632, 23832, 24156, 24660, 24975, 25020, 25092, 25104, 25164, 25245, 25300, 25416, 25434, 25452, 25608, 25668, 25752, 25952, 26163, 26334, 26532, 27060, 27108, 27135, 27192, 27240, 27248, 27270, 27405, 27408, 27468, 27472, 27588, 27608, 27636, 27816, 28116, \( \textbf{28215} \), 28314, 28710, 28782, 28890, 29052, 29172, 29322, 29340, 29392, 29412, 29580, 29750, 29784, 29835, 29900, 29960, 29984, 32967, 34965, 35775, 35937, 36162, 36990, 37026, 38367, 38934

I explore this reversibility extensively in my post titled Beyond Emirp from July 2025.

THIRD INTERESTING PROPERTY


The totient of a number \(n\) (commonly known as Euler's totient function or phi function, denoted as \(\phi(n)\)) counts the number of positive integers up to \(n\) that share no common factors with \(n\) other than 1. These numbers are called "relatively prime" or "coprime" to \(n\).

28215 has the property that it and its reversal, 51282, both have the same totient. Thus:$$ \phi(28215)=\phi(51282)=12960 $$This property is the rarest of all because in the range up to 40000 there are only 25 numbers with this property. They are:

190, 427, 429, 724, 924, 4147, 4697, 6276, 6726, 7414, 7964, 9079, 9709, 10040, 10940, 14450, 15860, 19190, 20493, 20553, 28092, \( \textbf{28215}\), 29082, 35502, 39402

FOURTH INTERESTING PROPERTY


28215 is a member of OEIS  A076773:


A076773   2-nadirs of \( \phi\) : numbers \( k \text{ such that }\)  
\( \phi(k-2) \gt \phi(k-1) \gt \phi(k) \lt \phi(k+1) \lt \phi(k+2) \)


I covered this in a post titled Totient Function: Jagged Versus Rounded Local Minima back in March of 2025. Figure 1 gives an idea of what is going on:

Figure 1

Here the \(\phi\) values for 28213, 28214, 26215, 28216, 28217 are:$$27808 \lt14106 \lt 12960 \lt14104 \lt23184$$There are 238 such minima in the range up to 40000:

315, 525, 735, 1155, 1365, 1575, 1755, 1785, 1815, 1995, 2145, 2415, 2475, 2805, 3045, 3315, 3465, 3885, 4095, 4125, 4305, 4515, 4725, 4935, 5115, 5145, 5355, 5775, 6045, 6195, 6405, 6435, 6615, 6825, 7035, 7095, 7245, 7395, 7455, 7605, 7665, 8085, 8265, 8505, 8715, 8745, 8925, 9135, 9345, 9405, 9555, 9735, 9765, 9975, 10185, 10395, 10455, 10545, 10815, 10965, 11055, 11235, 11385, 11445, 11655, 11865, 12075, 12285, 12495, 12675, 12705, 12915, 13125, 13335, 13545, 13695, 13965, 14025, 14175, 14355, 14385, 14595, 14805, 14835, 15015, 15045, 15225, 15405, 15435, 15645, 15675, 15855, 16005, 16065, 16275, 16335, 16485, 16695, 16905, 17085, 17325, 17355, 17745, 17955, 18135, 18165, 18375, 18585, 18645, 18795, 18975, 19215, 19425, 19635, 19665, 20055, 20265, 20295, 20475, 20625, 20685, 20865, 20895, 21105, 21255, 21315, 21525, 21945, 22365, 22425, 22575, 22605, 22785, 22995, 23205, 23265, 23415, 23595, 23625, 23655, 23835, 23985, 24225, 24255, 24675, 24885, 24915, 25095, 25245, 25305, 25515, 25575, 25725, 25905, 25935, 26145, 26325, 26565, 26775, 26985, 27027, 27195, 27615, 27825, 27885, 28035, \( \textbf{28215}\), 28245, 28275, 28455, 28665, 28815, 28875, 29055, 29295, 29505, 29865, 29925, 30195, 30345, 30555, 30723, 30765, 30975, 31185, 31365, 31395, 31605, 31815, 32025, 32175, 32235, 32445, 32655, 32835, 32895, 33033, 33075, 33345, 33495, 33705, 33735, 33915, 34125, 34155, 34335, 34485, 34515, 34545, 34755, 34965, 35175, 35385, 35805, 36225, 36435, 36465, 36645, 36795, 36855, 37065, 37275, 37455, 37485, 37695, 37905, 38115, 38535, 38745, 38775, 38955, 39165, 39195, 39375, 39435, 39585, 39765, 39795

FIFTH INTERESTING PROPERTY


28215 is also a member of A323380:


A323380  2-zeniths of \(\sigma\): numbers \( k \text{ such that }\)
                    \( \sigma(k-2) \lt \sigma(k-1) \lt \sigma(k) \gt \sigma(k+1) \gt \sigma(k+2) \)


I covered this in a post titled Totient and Sigma Graphs Revisited in August of 2025. Figure 2 shows what's going on and it's the local zenith replacing the local nadir of the totient graph:


Figure 2

Here the sigma values for 28213, 28214, 26215, 28216, 28217 are:$$28620 \lt 42324 \lt 57600 \gt52920 \gt 33600$$Below is a list of numbers up to 40000 that belong to BOTH OEIS A323380 and OEIS A076773 (sigma and totient respectively):

315, 525, 1155, 1575, 1755, 1785, 1995, 2475, 2805, 3045, 3315, 3465, 3885, 4095, 4125, 4515, 4725, 5115, 5355, 5775, 6045, 6195, 6405, 6435, 6615, 6825, 7035, 7245, 7605, 8085, 8505, 8715, 8925, 9135, 9405, 9555, 9765, 9975, 10395, 11235, 11385, 11445, 11655, 12075, 12285, 12675, 12705, 12915, 13125, 13545, 13965, 14025, 14175, 14355, 14595, 14805, 15015, 15435, 15645, 15675, 16005, 16065, 16275, 16335, 16695, 16905, 17325, 17745, 17955, 18135, 18375, 18585, 18795, 19215, 19635, 20475, 20685, 21105, 21315, 21525, 21945, 22365, 22605, 22995, 23205, 23595, 23625, 23835, 24255, 24675, 24885, 24915, 25245, 25515, 25725, 25935, 26325, 26565, 26775, 27027, 27195, 27885, 28035, \( \textbf{28215}\), 28245, 28275, 28665, 28875, 29295, 29925, 30195, 30345, 30555, 30723, 30765, 31185, 31365, 31395, 31605, 31815, 32025, 32175, 32235, 32445, 32835, 33075, 33345, 33495, 33915, 34125, 34155, 34485, 34515, 34755, 34965, 35175, 35805, 36225, 36435, 36645, 36795, 36855, 37275, 37485, 38115, 38745, 38955, 39165, 39195, 39375, 39435, 39585, 39765, 39795

SIXTH INTERESTING PROPERTY


28215 has a totient and sum of divisors that have 2, 3 and 5 as their distinct prime factors:$$ \begin{align} \sigma(28215) &= 57600 = 2^8 \times 3^2 \times 5^2 \rightarrow 2, 3, 5 \text{ as distinct prime factors} \\ \phi(28215) &= 12960 = 2^5 \times 3^4 \times 5 \rightarrow 2, 3, 5 \text{ as distinct prime factors} \end{align} $$There are 143 such numbers in the range from 28215 to 40000:

\( \textbf{28215} \), 28258, 28329, 28340, 28424, 28458, 28614, 28728, 28768, 28782, 28809, 28826, 28985, 29029, 29222, 29260, 29295, 29337, 29393, 29512, 29640, 29667, 29678, 29835, 29848, 30039, 30184, 30240, 30264, 30305, 30381, 30504, 30566, 30760, 30780, 30814, 30888, 30914, 30943, 30956, 30996, 31008, 31027, 31160, 31174, 31283, 31331, 31392, 31416, 31465, 31496, 31529, 31806, 31816, 32103, 32130, 32131, 32298, 32376, 32395, 32589, 32604, 32718, 32802, 32984, 33015, 33176, 33292, 33345, 33383, 33440, 33480, 33495, 33497, 33528, 33572, 33592, 33836, 33885, 33915, 34008, 34162, 34276, 34293, 34317, 34440, 34452, 34573, 34580, 34605, 34782, 34884, 35061, 35074, 35112, 35340, 35343, 35424, 35464, 35530, 35752, 35805, 35910, 35948, 35960, 36366, 36423, 36666, 36828, 36859, 36860, 36890, 36920, 37060, 37128, 37417, 37638, 37719, 37730, 37758, 37772, 37961, 38038, 38152, 38285, 38340, 38368, 38408, 38610, 38745, 38760, 38874, 39032, 39121, 39219, 39270, 39370, 39458, 39501, 39520, 39556, 39576, 39729

SEVENTH INTERESTING PROPERTY


28215 is what I've termed an \(a,b,c,d\) number because it can be combined with three other numbers, all with the same digits, to form a simple additive equation and this can be done in two different ways. Here is what I mean:$$ \begin{align} 25182 + 28125 + \textbf{28215} &= 81522 \\ 25812 + 28125 + \textbf{28215} &= 82152 \end{align}$$Here are the numbers with this property in the range from 28215 to 40000:

\( \textbf{28215}\), 28260, 28269, 28359, 28413, 28458, 28467, 28476, 28512, 28521, 28539, 28548, 28593, 28611, 28647, 28674, 28692, 28701, 28710, 28719, 28746, 28764, 28791, 28845, 28854, 28863, 28917, 28935, 28953, 28962, 28971, 29016, 29034, 29043, 29061, 29106, 29160, 29178, 29187, 29268, 29304, 29340, 29358, 29367, 29385, 29394, 29439, 29448, 29475, 29493, 29538, 29583, 29601, 29610, 29628, 29637, 29673, 29682, 29718, 29754, 29763, 29781, 29817, 29835, 29853, 29871, 29961, 30015, 30150, 30159, 30168, 30195, 30285, 30294, 30429, 30492, 30519, 30582, 30591, 30627, 30681, 30726, 30825, 30852, 30924, 30942, 30951, 31059, 31068, 31149, 31158, 31176, 31185, 31464, 31491, 31509, 31590, 31599, 31608, 31635, 31644, 31653, 31680, 31689, 31698, 31761, 31788, 31806, 31815, 31842, 31860, 31869, 31878, 31896, 31905, 31959, 31968, 31986, 31995, 32049, 32076, 32085, 32148, 32418, 32481, 32490, 32499, 32580, 32607, 32679, 32697, 32760, 32769, 32796, 32814, 32841, 32850, 32859, 32886, 32895, 32904, 32958, 32967, 32976, 32985, 32994, 34029, 34119, 34128, 34164, 34182, 34218, 34281, 34299, 34461, 34614, 34641, 34812, 34821, 34911, 34992, 35019, 35082, 35091, 35109, 35118, 35190, 35217, 35271, 35631, 35712, 35721, 35802, 35820, 35829, 35892, 35910, 35982, 35991, 36018, 36108, 36117, 36135, 36144, 36153, 36171, 36198, 36261, 36279, 36288, 36297, 36315, 36351, 36414, 36513, 36531, 36621, 36711, 36729, 36792, 36810, 36819, 36918, 36927, 36972, 36981, 37116, 37125, 37161, 37179, 37197, 37215, 37251, 37269, 37296, 37521, 37611, 37629, 37719, 37917, 37962, 38016, 38061, 38106, 38115, 38142, 38151, 38160, 38169, 38187, 38196, 38214, 38241, 38286, 38295, 38412, 38511, 38529, 38592, 38610, 38619, 38682, 38691, 38817, 38826, 38871, 38916, 38925, 38952, 38961, 39015, 39024, 39042, 39051, 39105, 39150, 39159, 39177, 39186, 39195, 39204, 39258, 39285, 39402, 39411, 39420, 39492, 39501, 39510, 39528, 39582, 39591, 39618, 39627, 39672, 39681, 39717, 39726, 39762, 39816, 39825, 39852, 39861, 39942, 39951

EIGHTH INTERESTING PROPERTY


If the prime factors, with multiplicity, of 28215 are concatenated in ascending order, they form a prime number. Thus:$$28215 =3^3 \times 5 \times 11 \times 19 \rightarrow 33351119$$Such a prime is called the home prime and so 28215 is only one step removed from its home prime. There are many other concatenations that yield primes and all the possibilities are listed below (permalink):

11193353, 11319533, 11335193, 19331153, 19335311, 19351133, 19511333, 31119353, 31131953, 31133519, 31153193, 31933511, 31951133, 31953113, 33191153, 33195311, 33311519, \( \textbf{33351119} \), 35113193, 35191133, 35193311, 35319113, 35331119, 35331911, 51131933, 51133193

This property, of being one step removed from its home prime, is relatively common but nonetheless interesting.


NINTH INTERESTING PROPERTY


28215 is a member of the commas sequence beginning with 8. I explore sequences of this type in my blog post The Commas Sequence from December of 2023. The full trajectory up to 40000 is as follows:

[8, 97, 168, 250, 252, 274, 317, 390, 393, 427, 502, 527, 603, 639, 736, 804, 852, 880, 888, 977, 1048, 1129, 1220, 1221, 1232, 1253, 1284, 1325, 1376, 1437, 1508, 1589, 1680, 1681, 1692, 1713, 1744, 1785, 1836, 1897, 1968, 2050, 2052, 2074, 2116, 2178, 2260, 2262, 2284, 2326, 2388, 2470, 2472, 2494, 2536, 2598, 2680, 2682, 2704, 2746, 2808, 2890, 2892, 2914, 2956, 3019, 3112, 3135, 3188, 3271, 3284, 3327, 3400, 3403, 3436, 3499, 3592, 3615, 3668, 3751, 3764, 3807, 3880, 3883, 3916, 3979, 4073, 4107, 4181, 4195, 4249, 4343, 4377, 4451, 4465, 4519, 4613, 4647, 4721, 4735, 4789, 4883, 4917, 4991, 5006, 5071, 5086, 5151, 5166, 5231, 5246, 5311, 5326, 5391, 5406, 5471, 5486, 5551, 5566, 5631, 5646, 5711, 5726, 5791, 5806, 5871, 5886, 5951, 5966, 6032, 6058, 6144, 6190, 6196, 6262, 6288, 6374, 6420, 6426, 6492, 6518, 6604, 6650, 6656, 6722, 6748, 6834, 6880, 6886, 6952, 6978, 7065, 7122, 7149, 7246, 7313, 7350, 7357, 7434, 7481, 7498, 7585, 7642, 7669, 7766, 7833, 7870, 7877, 7954, 8002, 8030, 8038, 8126, 8194, 8242, 8270, 8278, 8366, 8434, 8482, 8510, 8518, 8606, 8674, 8722, 8750, 8758, 8846, 8914, 8962, 8990, 8998, 9087, 9166, 9235, 9294, 9343, 9382, 9411, 9430, 9439, 9538, 9627, 9706, 9775, 9834, 9883, 9922, 9951, 9970, 9979, 10070, 10071, 10082, 10103, 10134, 10175, 10226, 10287, 10358, 10439, 10530, 10531, 10542, 10563, 10594, 10635, 10686, 10747, 10818, 10899, 10990, 10991, 11002, 11023, 11054, 11095, 11146, 11207, 11278, 11359, 11450, 11451, 11462, 11483, 11514, 11555, 11606, 11667, 11738, 11819, 11910, 11911, 11922, 11943, 11974, 12015, 12066, 12127, 12198, 12279, 12370, 12371, 12382, 12403, 12434, 12475, 12526, 12587, 12658, 12739, 12830, 12831, 12842, 12863, 12894, 12935, 12986, 13047, 13118, 13199, 13290, 13291, 13302, 13323, 13354, 13395, 13446, 13507, 13578, 13659, 13750, 13751, 13762, 13783, 13814, 13855, 13906, 13967, 14038, 14119, 14210, 14211, 14222, 14243, 14274, 14315, 14366, 14427, 14498, 14579, 14670, 14671, 14682, 14703, 14734, 14775, 14826, 14887, 14958, 15039, 15130, 15131, 15142, 15163, 15194, 15235, 15286, 15347, 15418, 15499, 15590, 15591, 15602, 15623, 15654, 15695, 15746, 15807, 15878, 15959, 16050, 16051, 16062, 16083, 16114, 16155, 16206, 16267, 16338, 16419, 16510, 16511, 16522, 16543, 16574, 16615, 16666, 16727, 16798, 16879, 16970, 16971, 16982, 17003, 17034, 17075, 17126, 17187, 17258, 17339, 17430, 17431, 17442, 17463, 17494, 17535, 17586, 17647, 17718, 17799, 17890, 17891, 17902, 17923, 17954, 17995, 18046, 18107, 18178, 18259, 18350, 18351, 18362, 18383, 18414, 18455, 18506, 18567, 18638, 18719, 18810, 18811, 18822, 18843, 18874, 18915, 18966, 19027, 19098, 19179, 19270, 19271, 19282, 19303, 19334, 19375, 19426, 19487, 19558, 19639, 19730, 19731, 19742, 19763, 19794, 19835, 19886, 19947, 20019, 20111, 20123, 20155, 20207, 20279, 20371, 20383, 20415, 20467, 20539, 20631, 20643, 20675, 20727, 20799, 20891, 20903, 20935, 20987, 21059, 21151, 21163, 21195, 21247, 21319, 21411, 21423, 21455, 21507, 21579, 21671, 21683, 21715, 21767, 21839, 21931, 21943, 21975, 22027, 22099, 22191, 22203, 22235, 22287, 22359, 22451, 22463, 22495, 22547, 22619, 22711, 22723, 22755, 22807, 22879, 22971, 22983, 23015, 23067, 23139, 23231, 23243, 23275, 23327, 23399, 23491, 23503, 23535, 23587, 23659, 23751, 23763, 23795, 23847, 23919, 24011, 24023, 24055, 24107, 24179, 24271, 24283, 24315, 24367, 24439, 24531, 24543, 24575, 24627, 24699, 24791, 24803, 24835, 24887, 24959, 25051, 25063, 25095, 25147, 25219, 25311, 25323, 25355, 25407, 25479, 25571, 25583, 25615, 25667, 25739, 25831, 25843, 25875, 25927, 25999, 26091, 26103, 26135, 26187, 26259, 26351, 26363, 26395, 26447, 26519, 26611, 26623, 26655, 26707, 26779, 26871, 26883, 26915, 26967, 27039, 27131, 27143, 27175, 27227, 27299, 27391, 27403, 27435, 27487, 27559, 27651, 27663, 27695, 27747, 27819, 27911, 27923, 27955, 28007, 28079, 28171, 28183, \( \textbf{28215} \), 28267, 28339, 28431, 28443, 28475, 28527, 28599, 28691, 28703, 28735, 28787, 28859, 28951, 28963, 28995, 29047, 29119, 29211, 29223, 29255, 29307, 29379, 29471, 29483, 29515, 29567, 29639, 29731, 29743, 29775, 29827, 29899, 29991, 30004, 30047, 30120, 30123, 30156, 30219, 30312, 30335, 30388, 30471, 30484, 30527, 30600, 30603, 30636, 30699, 30792, 30815, 30868, 30951, 30964, 31007, 31080, 31083, 31116, 31179, 31272, 31295, 31348, 31431, 31444, 31487, 31560, 31563, 31596, 31659, 31752, 31775, 31828, 31911, 31924, 31967, 32040, 32043, 32076, 32139, 32232, 32255, 32308, 32391, 32404, 32447, 32520, 32523, 32556, 32619, 32712, 32735, 32788, 32871, 32884, 32927, 33000, 33003, 33036, 33099, 33192, 33215, 33268, 33351, 33364, 33407, 33480, 33483, 33516, 33579, 33672, 33695, 33748, 33831, 33844, 33887, 33960, 33963, 33996, 34059, 34152, 34175, 34228, 34311, 34324, 34367, 34440, 34443, 34476, 34539, 34632, 34655, 34708, 34791, 34804, 34847, 34920, 34923, 34956, 35019, 35112, 35135, 35188, 35271, 35284, 35327, 35400, 35403, 35436, 35499, 35592, 35615, 35668, 35751, 35764, 35807, 35880, 35883, 35916, 35979, 36072, 36095, 36148, 36231, 36244, 36287, 36360, 36363, 36396, 36459, 36552, 36575, 36628, 36711, 36724, 36767, 36840, 36843, 36876, 36939, 37032, 37055, 37108, 37191, 37204, 37247, 37320, 37323, 37356, 37419, 37512, 37535, 37588, 37671, 37684, 37727, 37800, 37803, 37836, 37899, 37992, 38015, 38068, 38151, 38164, 38207, 38280, 38283, 38316, 38379, 38472, 38495, 38548

So, overall, 28215 is a very interesting number.

Sunday, 31 May 2026

Palindromic Day 28182

Palindromic properties of 28182 (showing only sequence members up to 40000):


A098834: palindromic Smith numbers.

4, 22, 121, 202, 454, 535, 636, 666, 1111, 1881, 3663, 7227, 7447, 9229, 10201, 17271, 22522, 24142, 28182, 33633, 38283

A Smith number is a composite number where the sum of its digits equals the sum of the digits of its prime factors. For 28182:$$ \begin{align} 28182 &\rightarrow 2+8+1+8+2 = 21 \\ 28182 &= 2 \times 3 \times 7 \times 11 \times 61\\ &\rightarrow 2 + 3 + 7 + 1+1+6 +1 =21 \end{align}$$


A046395: palindromes that are the product of 5 distinct primes.

6006, 8778, 20202, 28182

Here \(28182 = 2 \times 3 \times 7 \times 11 \times 61 \)


A099052: all palindromes of length > 1 in the decimal expansion of \(e\).

\(e\) = 2.71828182845904523536028747135266 ...


A045571: numbers that are palindromic, divisible by 11 and have an odd number of digits.

121, 242, 363, 484, 616, 737, 858, 979, 10901, 11011, 12221, 13431, 14641, 15851, 17171, 18381, 19591, 20702, 21912, 22022, 23232, 24442, 25652, 26862, 28182, 29392, 30503, 31713, 32923, 33033, 34243, 35453, 36663, 37873, 39193

All the palindromic numbers with an even number of digits are divisible by 11. The number of palindromic numbers with \(2k+1\) digits that are divisible by 11 is \((10^{k+1} + (-1)^k)/11\), and their asymptotic relative density within the set of all palindromic numbers with an odd number of digits is 1/11 (from OEIS comments).


A113838
: palindromes sandwiched between twin primes.

4, 6, 282, 828, 858, 2112, 21012, 21612, 23832, 26262, 26862, 28182

Here of course the twin primes are 28181 and 28183.


A032751
: palindromic Super-3 Numbers.

4554, 6776, 17471, 22322, 22722, 28182

Super-3 numbers \(n\) are of the form \(3 \times n^3 \) and contain three consecutive 3's.

Here \(3 \times 28182^3 = 67148557\textbf{333}704\)

Wednesday, 20 May 2026

Dual Attractors

I've written about attractors, vortices, vorticals and captives in many earlier posts. In my nomenclature attractors can be prime/non-prime or odd/even:

  • a prime/non-prime attractor has sums of prime digits and non-prime digits that are equal
  • an odd/even attractor has sums of odd and even digits that are equal
An example of a prime/non-prime attractor would be 28330 where 2 + 3 + 3 = 8 + 0. Other numbers do not have this balance and under the recursion:

number --> number + sum of prime digits - sum of non-prime digits

some will be "attracted" to 28330, meaning that repeated application of the recursion will lead to the attractor. In the case of 28330, there are 19 such numbers (termed captives):
28327, 28331, 28332, 28333, 28334, 28335, 28336, 28337, 28338, 28339, 28340, 28341, 28342, 28343, 28344, 28345, 28346, 28348, 28349
An example of an odd/even attractor would be 29612 where 9 + 1 = 2 + 6 + 2. Other numbers again do not have this balance and under the recursion:

number --> number + sum of odd digits - sum of even digits

some will be "attracted" to 29612, meaning that repeated applications of the recursion will lead to the attractor. In the case of 29612, there are 20 such numbers (termed captives):
29517, 29537, 29559, 29571, 29583, 29585, 29587, 29590, 29591, 29592, 29594, 29596, 29598, 29605, 29610, 29611, 29613, 29614, 29616, 29618

Some attractors can be both prime/non-prime and odd/even and in the range up to 40000 there are 223 of them (permalink):

0, 112, 121, 211, 336, 358, 363, 385, 538, 583, 633, 835, 853, 1012, 1021, 1102, 1120, 1201, 1210, 2011, 2101, 2110, 3036, 3058, 3063, 3085, 3306, 3360, 3445, 3454, 3467, 3476, 3508, 3544, 3580, 3603, 3630, 3647, 3674, 3746, 3764, 3805, 3850, 4345, 4354, 4367, 4376, 4435, 4453, 4534, 4543, 4556, 4565, 4578, 4587, 4637, 4655, 4673, 4736, 4758, 4763, 4785, 4857, 4875, 5038, 5083, 5308, 5344, 5380, 5434, 5443, 5456, 5465, 5478, 5487, 5546, 5564, 5645, 5654, 5667, 5676, 5748, 5766, 5784, 5803, 5830, 5847, 5874, 6033, 6303, 6330, 6347, 6374, 6437, 6455, 6473, 6545, 6554, 6567, 6576, 6657, 6675, 6734, 6743, 6756, 6765, 6778, 6787, 6877, 7346, 7364, 7436, 7458, 7463, 7485, 7548, 7566, 7584, 7634, 7643, 7656, 7665, 7678, 7687, 7768, 7786, 7845, 7854, 7867, 7876, 8035, 8053, 8305, 8350, 8457, 8475, 8503, 8530, 8547, 8574, 8677, 8745, 8754, 8767, 8776, 10012, 10021, 10102, 10120, 10201, 10210, 11002, 11020, 11200, 12001, 12010, 12100, 20011, 20101, 20110, 21001, 21010, 21100, 30036, 30058, 30063, 30085, 30306, 30360, 30445, 30454, 30467, 30476, 30508, 30544, 30580, 30603, 30630, 30647, 30674, 30746, 30764, 30805, 30850, 33006, 33060, 33600, 34045, 34054, 34067, 34076, 34405, 34450, 34504, 34540, 34607, 34670, 34706, 34760, 35008, 35044, 35080, 35404, 35440, 35800, 36003, 36030, 36047, 36074, 36300, 36407, 36470, 36704, 36740, 37046, 37064, 37406, 37460, 37604, 37640, 38005, 38050, 38500

Let's take 37640 as an example:

  • it is a prime attractor since prime digits 3 + 7 = 6 + 4 + 0 (non-prime digits)

    It has 14 captives: 37612, 37615, 37617, 37623, 37627, 37632, 37633, 37641, 37642, 37643, 37644, 37646, 37648, 37649

  • it is an odd/even attractor since odd digits 3 + 7 = 6 + 4 + 0 (even digits)

    It has 11 captives: 37611, 37617, 37619, 37629, 37633, 37641, 37642, 37643, 37644, 37646, 37648

Of course the order of digits makes no difference and so many of these 223 numbers are just permutations of another's digits and 0's can be added anywhere because they do not affect the sum. Take 358 as an example. Permutations of its digits with or without 0 added include 385, 538, 583, 835, 853, 3058, 3085, 3508, 3580, 3805, 3850 etc.

In fact if we strip out the zeroes and put the digits in ascending order then the above list of 223 reduces to merely 112, 336, 358, 3445, 3467, 4556, 4578, 5667, 6778.

Monday, 18 May 2026

Base 10 Primes in Higher Number Bases

The thought struck me as to what primes in base 10 remain prime when the digits stay the same but the number base increases to 11, 12, 13 etc. I got Gemini to investigate and it came up with useful summary and an impressive interactive tool for investigation:

To analyze this integer sequence mathematically, we can define the transformation as evaluating a polynomial.

Let a base-10 prime \( p \) have the decimal representation \( d_k d_{k-1} \dots d_1 d_0 \). The value of \( p \) is given by:

\[ p = \sum_{i=0}^{k} d_i 10^i \]

When we take these same digits and interpret them in a higher base \( b \) (where \( 11 \le b \le 36 \)), we are evaluating the new integer \( P_b \):

\[ P_b = \sum_{i=0}^{k} d_i b^i \]

The task is to find all instances where both \( p \) and \( P_b \) are prime. When we run this analysis across different bases, distinct number-theoretic patterns emerge, particularly regarding parity and divisibility.

The Parity Sieve for Odd Bases

The parity of the new number \( P_b \) depends entirely on whether the target base \( b \) is odd or even.

If the target base \( b \) is odd (e.g., base 11, 13, 15), then \( b \equiv 1 \pmod 2 \). Consequently, the modulo-2 value of the new number collapses to the sum of its digits:

\[ P_b \equiv \sum_{i=0}^{k} d_i \pmod 2 \]

This creates a massive sieve: if the sum of the digits of the original prime \( p \) is even, \( P_b \) will inevitably be even. Since \( P_b > 2 \) for all target primes in these higher bases, an even \( P_b \) is strictly composite. Therefore, odd bases yield a significantly sparser sequence of primes.

The Density in Even Bases

If the target base \( b \) is even (like the default \( b=16 \)), then \( b \equiv 0 \pmod 2 \). In this scenario, all terms multiplied by \( b \) are even, meaning the parity of \( P_b \) relies solely on the final digit \( d_0 \):

\[ P_b \equiv d_0 \pmod 2 \]

Because \( p \) is prime in base-10, its final digit \( d_0 \) must be odd (1, 3, 7, or 9) with the sole exception of \( p=2 \). Therefore, \( P_b \) will always be odd in an even base. Because they bypass the digit-sum parity trap, even bases like 16 retain a much higher density of prime numbers.

Small Examples in Base 16

For \( b=16 \), examining the first few base-10 primes reveals the retention rate:

  • 11: \( 1(16) + 1 = 17 \) (Prime)
  • 13: \( 1(16) + 3 = 19 \) (Prime)
  • 17: \( 1(16) + 7 = 23 \) (Prime)
  • 19: \( 1(16) + 9 = 25 \) (Composite, \( 5 \times 5 \))
  • 23: \( 2(16) + 3 = 35 \) (Composite, \( 5 \times 7 \))
  • 29: \( 2(16) + 9 = 41 \) (Prime)

To thoroughly investigate the sequence up to 40,000 across any base from 11 to 36 without relying on a static, truncated list, the interactive tool below is designed to compute the results dynamically. It handles the base conversions and primality testing locally within your browser.

Total Primes Found: 0
Index Base 10 Prime Value in Target Base

Friday, 3 April 2026

77th Birthday

Today I turned 77 years of age and my equivalent diurnal age is 28124 which has the following factorisation:$$28124=2 \times 2 \times 79 \times 89$$Though this number is composite, it has numerous prime number associations. Let's examine some of them beginning with its sum of digits, sum of digits squares and sum of digits cubed:$$ \begin{align} 2 + 8 + 1 + 2 + 4 &=17 \text{ (prime)} \\2^2+8^2+1^2+2^2+8^4 &= 89 \text{ (prime)} \\2^3+8^3+1^3+2^3+8^3 &= 593 \text{ (prime)} \end{align}$$The number is only one step removed from its home prime because:$$28124=2 \times 2 \times 79 \times 89 \rightarrow 227989 \text{ (prime)}$$The number is also a member of OEIS A048381: numbers such that replacing each nonzero digit with the n-th prime (replacing each 0 digit with a 1) yields a prime. Thus:$$28124 \rightarrow 319237 \text{ (prime)}$$The number has a binary complement that is prime. The binary complement of a number is determined by changing the number to binary and swapping any 0's for 1's and vice versa. Thus:$$ \begin{align} 28124_{10} &= 110110111011100_2 \\ &\rightarrow 001001000100011_2 \\ &=4643_{10} \text{ (prime)} \end{align}$$The number is quickly captured by the prime 28109 under the ODD(+) and EVEN(-) algorithm where the sum of the odd digits is added to the number and the sum of the even digits is subtracted recursively until a fixed point is reached or a loop is entered. Here is the trajectory is simply:$$ \begin{align} 28124 &\rightarrow 28124 + 1 -(2 + 8 + 2 + 4) \\ &=28124 + 1 - 16 \\ &=28109 \text{ (prime)} \end{align}$$The number can be considered as a concatenation of powers of the prime 2 because:$$ 28124 = 2^1\, | \,2^3 \,| \,2^0 \,| \,2^1 \,| \, 2^2 $$where | represents concatenation. The number can be generated by adding the prime sum (13) of the digits of the prime 28111 to itself. Thus:$$28111+13=28124$$The digits of the number can be rearranged to form the following primes:$$22481, 24281, 24821, 42281, 42821, 48221, 82241, 82421, 84221$$The position 28124 in the Recaman Sequence is reached after a prime number of iterations:$$0 \rightarrow 28124 \text{ requires } 34183 \text{ (prime) iterations}$$

Saturday, 31 January 2026

Abundant But Not Zumkeller

A property of the number \( \textbf{28062}\) associated with my diurnal age today prompted me to look more closely at abundant numbers that are not Zumkeller. 28062 has the following properties:$$ \begin{align} 28062 &=2 \times 3^2 \times 1559\\ \text{ divisors }  &\rightarrow 1, 2, 3, 6, 9, 18, 1559, 3118, 4677, 9354, 14031, 28062 \end{align}$$Normally, for abundant numbers, the set of divisors can be divided into two mutually exclusive sets whose elements sum to the same number. However, this simply can't be done with 28062.

Now up to 40000, there are 718 abundant numbers that are abundant but not Zumkeller. 146 of these have an odd sum of divisors and an even split is not possible. The other 572 have an even sum of divisors and thus have the potential for an even split but it proves impossible to find one. Here are the details:

There are 572 abundant numbers with an \( \textbf{even}\) sum of divisors. They are (up to 40000):

[738, 748, 774, 846, 954, 1062, 1098, 1206, 1278, 1314, 1422, 1494, 1602, 1746, 1818, 1854, 1926, 1962, 2034, 2286, 2358, 2466, 2502, 2682, 2718, 2826, 2934, 3006, 3114, 3222, 3258, 3438, 3474, 3492, 3546, 3582, 3636, 3708, 3798, 3852, 3924, 4014, 4068, 4086, 4122, 4194, 4302, 4338, 4518, 4572, 4626, 4716, 4734, 4842, 4878, 4932, 4986, 5004, 5058, 5094, 5274, 5364, 5436, 5526, 5598, 5634, 5652, 5706, 5868, 5958, 6012, 6066, 6228, 6246, 6282, 6354, 6444, 6462, 6516, 6606, 6714, 6822, 6876, 6894, 6948, 7002, 7092, 7146, 7164, 7218, 7362, 7542, 7544, 7578, 7596, 7758, 7794, 7902, 7974, 8028, 8082, 8172, 8226, 8244, 8298, 8334, 8388, 8406, 8604, 8622, 8676, 8766, 8838, 8982, 9036, 9054, 9162, 9252, 9378, 9414, 9468, 9684, 9738, 9756, 9846, 9972, 10026, 10116, 10134, 10184, 10188, 10242, 10278, 10386, 10548, 10566, 10674, 10782, 10818, 10926, 11034, 11052, 11106, 11142, 11196, 11268, 11358, 11412, 11538, 11574, 11646, 11754, 11862, 11898, 11916, 12114, 12132, 12186, 12294, 12438, 12492, 12564, 12618, 12708, 12762, 12924, 12942, 13086, 13194, 13212, 13302, 13374, 13428, 13518, 13626, 13644, 13698, 13788, 13842, 13914, 14004, 14166, 14184, 14292, 14328, 14346, 14436, 14562, 14598, 14724, 14778, 14814, 14886, 14922, 15084, 15102, 15156, 15192, 15354, 15426, 15462, 15516, 15534, 15588, 15786, 15804, 15858, 15894, 15948, 15966, 16056, 16164, 16326, 16344, 16398, 16452, 16488, 16542, 16596, 16668, 16722, 16776, 16812, 16866, 16938, 17046, 17154, 17208, 17244, 17352, 17406, 17478, 17532, 17586, 17676, 17694, 17838, 17946, 17964, 18072, 18108, 18162, 18234, 18324, 18342, 18378, 18504, 18558, 18594, 18702, 18756, 18828, 18882, 18918, 18936, 19098, 19134, 19242, 19368, 19476, 19512, 19566, 19638, 19674, 19692, 19746, 19854, 19944, 19962, 20052, 20106, 20214, 20232, 20268, 20322, 20376, 20484, 20556, 20718, 20754, 20772, 20934, 21078, 21096, 21132, 21258, 21348, 21366, 21474, 21564, 21618, 21636, 21834, 21852, 21906, 22014, 22068, 22104, 22122, 22158, 22212, 22266, 22284, 22300, 22392, 22482, 22536, 22662, 22700, 22716, 22824, 22900, 22986, 23022, 23076, 23094, 23148, 23202, 23238, 23292, 23300, 23346, 23418, 23454, 23508, 23526, 23724, 23742, 23778, 23796, 23832, 23886, 23900, 24100, 24228, 24264, 24372, 24498, 24588, 24606, 24714, 24858, 24876, 24984, 25100, 25128, 25182, 25236, 25362, 25416, 25524, 25614, 25686, 25700, 25722, 25794, 25848, 25884, 25902, 26046, 26118, 26154, 26172, 26262, 26300, 26388, 26424, 26478, 26604, 26658, 26694, 26748, 26766, 26802, 26856, 26874, 26900, 26982, 27036, 27100, 27198, 27252, 27288, 27396, 27414, 27558, 27576, 27684, 27700, 27774, 27828, 27882, 27954, 28008, 28062, 28100, 28206, 28278, 28300, 28332, 28422, 28494, 28584, 28692, 28746, 28818, 28872, 28926, 28962, 29034, 29124, 29142, 29178, 29196, 29286, 29300, 29448, 29466, 29556, 29628, 29772, 29826, 29844, 29934, 30006, 30042, 30168, 30204, 30312, 30474, 30546, 30582, 30700, 30708, 30762, 30852, 30924, 30978, 31014, 31032, 31068, 31100, 31176, 31194, 31300, 31338, 31446, 31554, 31572, 31608, 31662, 31700, 31716, 31788, 31896, 31932, 31986, 32094, 32166, 32202, 32328, 32418, 32598, 32652, 32796, 32814, 32904, 32958, 33084, 33100, 33192, 33246, 33336, 33444, 33498, 33606, 33624, 33678, 33700, 33714, 33732, 33786, 33822, 33876, 34002, 34092, 34218, 34308, 34326, 34434, 34488, 34700, 34758, 34794, 34812, 34900, 34956, 35064, 35082, 35118, 35172, 35300, 35352, 35388, 35514, 35622, 35676, 35766, 35874, 35892, 35900, 35928, 35946, 35982, 36054, 36198, 36216, 36306, 36324, 36468, 36486, 36522, 36648, 36684, 36700, 36702, 36756, 36954, 37116, 37134, 37188, 37242, 37300, 37404, 37458, 37494, 37512, 37566, 37602, 37656, 37764, 37782, 37836, 37900, 37998, 38034, 38196, 38268, 38300, 38322, 38358, 38466, 38484, 38538, 38574, 38754, 38898, 38900, 38952, 39132, 39222, 39276, 39348, 39384, 39492, 39654, 39700, 39708, 39726, 39834, 39924, 39978]

There are 146 abundant numbers with an \( \textbf{odd}\) sum of divisors. These are up to 40000:

[18, 36, 72, 100, 144, 162, 196, 200, 288, 324, 392, 400, 450, 576, 648, 784, 800, 882, 900, 968, 1152, 1296, 1352, 1458, 1568, 1600, 1764, 1800, 1936, 2178, 2304, 2450, 2500, 2592, 2704, 2916, 3042, 3136, 3200, 3528, 3600, 3872, 4050, 4356, 4608, 4624, 4900, 5000, 5184, 5202, 5408, 5776, 5832, 6050, 6084, 6272, 6400, 6498, 7056, 7200, 7744, 7938, 8100, 8450, 8464, 8712, 9216, 9248, 9522, 9604, 9800, 10000, 10368, 10404, 10816, 11025, 11250, 11552, 11664, 12100, 12168, 12544, 12800, 12996, 13122, 13456, 14112, 14400, 15138, 15376, 15488, 15876, 16200, 16900, 16928, 17298, 17424, 18432, 18496, 19044, 19208, 19600, 19602, 20000, 20736, 20808, 21632, 22050, 22500, 23104, 23328, 23716, 24200, 24336, 24642, 25088, 25600, 25992, 26244, 26912, 27378, 28224, 28800, 28900, 30258, 30276, 30752, 30976, 31752, 32400, 33124, 33282, 33800, 33856, 34596, 34848, 36100, 36450, 36864, 36992, 38088, 38416, 39200, 39204, 39762, 40000]

The total number is 718

Note how I've marked 11025 in red. This is because it is the only odd number with an odd number of divisors. We have:$$11025 = 3^2 \times 5^2 \times 7^2 = 105^2 \text{ with 27 divisors}$$The next such number is 99225 where:$$99225=3^4 \times 5^2 \times 7^2 = 315^2 \text{ with 243 divisors}$$

Let's not confuse oddness and evenness of the divisor sums with the oddness and evenness of the numbers themselves. The majority of Zumkeller numbers are even. To quote from an earlier blog of mine:

In the range up to 100,000 there are 24362 even Zumkeller numbers comprising 24.362% of the range. However, there are only 208 odd Zumkeller numbers in that range, comprising 0.208%.

Wednesday, 7 January 2026

Code for Attractors, Vortices and Captives

Herein is an attempt to organise the code that I've gotten Gemini to write for me regarding attractors, vortices and captives.

Firstly, let's start with the ODD(+) and EVEN(-) algorithm. Here is a permalink to the code that will generate a list of attractors and vortices in decreasing order of their number of captives. It will also generate a summary and a colour-coded graphical display (see Table 1 and Figure 1). The default range is 0 to 40000.


Table 1: ODD(+) and EVEN(-)


Figure 1: red = attractor, orange = vortex, blue = captive

Secondly, let's continue with the ODD(-) and EVEN(+) algorithm. Here is a permalink to the code that will generate a list of attractors and vortices in decreasing order of their number of captives. It will also generate a summary and a colour-coded graphical display (see Table 2 and Figure 2). The default range is 0 to 40000.


Table 2: ODD(-) and EVEN(+)


Figure 2: red = attractor, orange = vortex, blue = captive

Thirdly, let's continue with the PRIME(+) and NON-PRIME(-) algorithm. Here is a permalink to the code that will generate a list of attractors and vortices in decreasing order of their number of captives. It will also generate a summary and a colour-coded graphical display (see Table 3 and Figure 3). The default range is 0 to 40000.


Table 3: PRIME(+) and NON-PRIME(-)


Figure 3: red = attractor, orange = vortex, blue = captive

Fourthly, let's continue with the PRIME(-) and NON-PRIME(+) algorithm. Here is a permalink to the code that will generate a list of attractors and vortices in decreasing order of their number of captives. It will also generate a summary and a colour-coded graphical display (see Table 4 and Figure 4). The default range is 0 to 40000.


Table 4: PRIME(-) and NON-PRIME(+)


Figure 4:  red = attractor, orange = vortex, blue = captive