Showing posts with label beast. Show all posts
Showing posts with label beast. Show all posts

Monday, 26 October 2026

Even More Hidden Beast Numbers

In a post titled Hidden Beast Numbers from the 6th August 2023 (Hiroshima Day), I looked at numbers whose sum of prime factors (with and without multiplicity) add to 666. An example would be 998515 where$$ \begin{align} 998515 = 5 \times 7 \times 47 \times 607\\5+7+47+607=666 \end{align}$$In a later post titled More Hidden Beast Numbers from the 21st August 2024, I looked at numbers where the digit sequence 666 shows up when they are rendered in other bases. An example would be 27534 where$$39862_{10}=115666_8$$Today, the number associated with my diurnal age (28330) has the property that$$ \begin{align} 28330 &=2 \times 5 \times 2833 \\ &=5 \times 5666 \end{align}$$I got Gemini to write a program using the following prompt:

Write a program in SageMath that will examine all positive, composite integers in a given range. Let the default range be from 4 to 40000. The criteria to be applied are that the number does not have "6" as a digit and neither do any of its prime factors. However, the prime factors can be combined to form a composite factor containing the digit sequence "666". An example would be 28330 = 2 * 5 * 2833. When factored as 5 * 5666, the factor "5666" contains the digit sequence "666". Output should be a table showing the number, its prime factorisation and its adjusted factorisation. Output should also include a comma-separated list of suitable numbers along with a count of how many there are in the given range.

Here is the output (permalink):

│ Number │ Prime Factorisation  │ Adjusted Factorisation  │
╞════════╪══════════════════════╪═════════════════════════╡
│ 1332   │ 2^2 * 3^2 * 37       │ 2 * 666                 │
├────────┼──────────────────────┼─────────────────────────┤
│ 1998   │ 2 * 3^3 * 37         │ 3 * 666                 │
├────────┼──────────────────────┼─────────────────────────┤
│ 3330   │ 2 * 3^2 * 5 * 37     │ 5 * 666                 │
├────────┼──────────────────────┼─────────────────────────┤
│ 3332   │ 2^2 * 7^2 * 17       │ 2 * 1666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 4998   │ 2 * 3 * 7^2 * 17     │ 3 * 1666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 5328   │ 2^4 * 3^2 * 37       │ 2 * 2 * 2 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 5332   │ 2^2 * 31 * 43        │ 2 * 2666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 5994   │ 2 * 3^4 * 37         │ 3 * 3 * 666             │
├────────┼──────────────────────┼─────────────────────────┤
│ 7332   │ 2^2 * 3 * 13 * 47    │ 2 * 3666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 7992   │ 2^3 * 3^3 * 37       │ 2 * 2 * 3 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 7998   │ 2 * 3 * 31 * 43      │ 3 * 2666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 8330   │ 2 * 5 * 7^2 * 17     │ 5 * 1666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 9324   │ 2^2 * 3^2 * 7 * 37   │ 2 * 7 * 666             │
├────────┼──────────────────────┼─────────────────────────┤
│ 9332   │ 2^2 * 2333           │ 2 * 4666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 9990   │ 2 * 3^3 * 5 * 37     │ 3 * 5 * 666             │
├────────┼──────────────────────┼─────────────────────────┤
│ 10998  │ 2 * 3^2 * 13 * 47    │ 3 * 3666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 11322  │ 2 * 3^2 * 17 * 37    │ 17 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 11332  │ 2^2 * 2833           │ 2 * 5666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 11988  │ 2^2 * 3^4 * 37       │ 2 * 3 * 3 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 13320  │ 2^3 * 3^2 * 5 * 37   │ 2 * 2 * 5 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 13324  │ 2^2 * 3331           │ 2 * 6662                │
├────────┼──────────────────────┼─────────────────────────┤
│ 13328  │ 2^4 * 7^2 * 17       │ 2 * 2 * 2 * 1666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 13330  │ 2 * 5 * 31 * 43      │ 5 * 2666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 13332  │ 2^2 * 3 * 11 * 101   │ 2 * 6666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 13334  │ 2 * 59 * 113         │ 2 * 6667                │
├────────┼──────────────────────┼─────────────────────────┤
│ 13338  │ 2 * 3^3 * 13 * 19    │ 2 * 6669                │
├────────┼──────────────────────┼─────────────────────────┤
│ 13998  │ 2 * 3 * 2333         │ 3 * 4666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 14994  │ 2 * 3^2 * 7^2 * 17   │ 3 * 3 * 1666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 15318  │ 2 * 3^2 * 23 * 37    │ 23 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 15332  │ 2^2 * 3833           │ 2 * 7666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 15984  │ 2^4 * 3^3 * 37       │ 2 * 2 * 2 * 3 * 666     │
├────────┼──────────────────────┼─────────────────────────┤
│ 17982  │ 2 * 3^5 * 37         │ 3 * 3 * 3 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 18330  │ 2 * 3 * 5 * 13 * 47  │ 5 * 3666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 19314  │ 2 * 3^2 * 29 * 37    │ 29 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 19332  │ 2^2 * 3^3 * 179      │ 2 * 9666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 19980  │ 2^2 * 3^3 * 5 * 37   │ 2 * 3 * 5 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 19989  │ 3^2 * 2221           │ 3 * 6663                │
├────────┼──────────────────────┼─────────────────────────┤
│ 19992  │ 2^3 * 3 * 7^2 * 17   │ 2 * 2 * 3 * 1666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 19995  │ 3 * 5 * 31 * 43      │ 3 * 6665                │
├────────┼──────────────────────┼─────────────────────────┤
│ 19998  │ 2 * 3^2 * 11 * 101   │ 3 * 6666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 20001  │ 3 * 59 * 113         │ 3 * 6667                │
├────────┼──────────────────────┼─────────────────────────┤
│ 20007  │ 3^4 * 13 * 19        │ 3 * 6669                │
├────────┼──────────────────────┼─────────────────────────┤
│ 21312  │ 2^6 * 3^2 * 37       │ 2 * 2 * 2 * 2 * 2 * 666 │
├────────┼──────────────────────┼─────────────────────────┤
│ 21328  │ 2^4 * 31 * 43        │ 2 * 2 * 2 * 2666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 21332  │ 2^2 * 5333           │ 2 * 10666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 21978  │ 2 * 3^3 * 11 * 37    │ 3 * 11 * 666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 22998  │ 2 * 3 * 3833         │ 3 * 7666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 23310  │ 2 * 3^2 * 5 * 7 * 37 │ 5 * 7 * 666             │
├────────┼──────────────────────┼─────────────────────────┤
│ 23324  │ 2^2 * 7^3 * 17       │ 2 * 7 * 1666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 23330  │ 2 * 5 * 2333         │ 5 * 4666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 23332  │ 2^2 * 19 * 307       │ 2 * 11666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 23994  │ 2 * 3^2 * 31 * 43    │ 3 * 3 * 2666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 24990  │ 2 * 3 * 5 * 7^2 * 17 │ 3 * 5 * 1666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 25308  │ 2^2 * 3^2 * 19 * 37  │ 2 * 19 * 666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 25332  │ 2^2 * 3 * 2111       │ 2 * 12666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 25974  │ 2 * 3^3 * 13 * 37    │ 3 * 13 * 666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 27972  │ 2^2 * 3^3 * 7 * 37   │ 2 * 3 * 7 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 28322  │ 2 * 7^2 * 17^2       │ 17 * 1666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 28330  │ 2 * 5 * 2833         │ 5 * 5666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 28998  │ 2 * 3^4 * 179        │ 3 * 9666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 29304  │ 2^3 * 3^2 * 11 * 37  │ 2 * 2 * 11 * 666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 29328  │ 2^4 * 3 * 13 * 47    │ 2 * 2 * 2 * 3666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 29332  │ 2^2 * 7333           │ 2 * 14666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 29970  │ 2 * 3^4 * 5 * 37     │ 3 * 3 * 5 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 29988  │ 2^2 * 3^2 * 7^2 * 17 │ 2 * 3 * 3 * 1666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 31302  │ 2 * 3^2 * 37 * 47    │ 47 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 31332  │ 2^2 * 3 * 7 * 373    │ 2 * 15666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 31992  │ 2^3 * 3 * 31 * 43    │ 2 * 2 * 3 * 2666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 31998  │ 2 * 3 * 5333         │ 3 * 10666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 32994  │ 2 * 3^3 * 13 * 47    │ 3 * 3 * 3666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 33300  │ 2^2 * 3^2 * 5^2 * 37 │ 2 * 5 * 5 * 666         │
├────────┼──────────────────────┼─────────────────────────┤
│ 33310  │ 2 * 5 * 3331         │ 5 * 6662                │
├────────┼──────────────────────┼─────────────────────────┤
│ 33315  │ 3 * 5 * 2221         │ 5 * 6663                │
├────────┼──────────────────────┼─────────────────────────┤
│ 33320  │ 2^3 * 5 * 7^2 * 17   │ 2 * 2 * 5 * 1666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 33324  │ 2^2 * 3 * 2777       │ 2 * 16662               │
├────────┼──────────────────────┼─────────────────────────┤
│ 33325  │ 5^2 * 31 * 43        │ 5 * 6665                │
├────────┼──────────────────────┼─────────────────────────┤
│ 33328  │ 2^4 * 2083           │ 2 * 16664               │
├────────┼──────────────────────┼─────────────────────────┤
│ 33330  │ 2 * 3 * 5 * 11 * 101 │ 5 * 6666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 33334  │ 2 * 7 * 2381         │ 2 * 16667               │
├────────┼──────────────────────┼─────────────────────────┤
│ 33335  │ 5 * 59 * 113         │ 5 * 6667                │
├────────┼──────────────────────┼─────────────────────────┤
│ 33338  │ 2 * 79 * 211         │ 2 * 16669               │
├────────┼──────────────────────┼─────────────────────────┤
│ 33345  │ 3^3 * 5 * 13 * 19    │ 5 * 6669                │
├────────┼──────────────────────┼─────────────────────────┤
│ 34998  │ 2 * 3 * 19 * 307     │ 3 * 11666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 35298  │ 2 * 3^2 * 37 * 53    │ 53 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 35332  │ 2^2 * 11^2 * 73      │ 2 * 17666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 37324  │ 2^2 * 7 * 31 * 43    │ 2 * 7 * 2666            │
├────────┼──────────────────────┼─────────────────────────┤
│ 37328  │ 2^4 * 2333           │ 2 * 2 * 2 * 4666        │
├────────┼──────────────────────┼─────────────────────────┤
│ 37998  │ 2 * 3^2 * 2111       │ 3 * 12666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 38318  │ 2 * 7^2 * 17 * 23    │ 23 * 1666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 38330  │ 2 * 5 * 3833         │ 5 * 7666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 39294  │ 2 * 3^2 * 37 * 59    │ 59 * 666                │
├────────┼──────────────────────┼─────────────────────────┤
│ 39332  │ 2^2 * 9833           │ 2 * 19666               │
├────────┼──────────────────────┼─────────────────────────┤
│ 39972  │ 2^2 * 3 * 3331       │ 2 * 3 * 6662            │
├────────┼──────────────────────┼─────────────────────────┤
│ 39978  │ 2 * 3^2 * 2221       │ 2 * 3 * 6663            │
├────────┼──────────────────────┼─────────────────────────┤
│ 39984  │ 2^4 * 3 * 7^2 * 17   │ 2 * 2 * 2 * 3 * 1666    │
├────────┼──────────────────────┼─────────────────────────┤
│ 39990  │ 2 * 3 * 5 * 31 * 43  │ 3 * 5 * 2666            │
└────────┴──────────────────────┴─────────────────────────┘

Suitable numbers: 
 
1332, 1998, 3330, 3332, 4998, 5328, 5332, 5994, 7332, 7992, 7998, 8330, 9324, 9332, 9990, 10998, 11322, 11332, 11988, 13320, 13324, 13328, 13330, 13332, 13334, 13338, 13998, 14994, 15318, 15332, 15984, 17982, 18330, 19314, 19332, 19980, 19989, 19992, 19995, 19998, 20001, 20007, 21312, 21328, 21332, 21978, 22998, 23310, 23324, 23330, 23332, 23994, 24990, 25308, 25332, 25974, 27972, 28322, 28330, 28998, 29304, 29328, 29332, 29970, 29988, 31302, 31332, 31992, 31998, 32994, 33300, 33310, 33315, 33320, 33324, 33325, 33328, 33330, 33334, 33335, 33338, 33345, 34998, 35298, 35332, 37324, 37328, 37998, 38318, 38330, 39294, 39332, 39972, 39978, 39984, 39990 
 
Total count in range [4, 40000]: 96

Thursday, 1 January 2026

A Formidable Run Of Hidden Beast Numbers

Today marks the start of a remarkable run of diurnal age numbers constituting what I call \( \textbf{hidden beast numbers} \) that I discussed in a post titled More Hidden Beast Numbers. These are numbers that contain the digit sequence "666" when expressed in a non-decimal base. In the case of my diurnal age today (28032) and the run of numbers to come, that base is 8. Here is the run and as can be seen it contains runs of "6666" and even "66666":

28032 --> 66600
28033 --> 66601
28034 --> 66602
28035 --> 66603
28036 --> 66604
28037 --> 66605
28038 --> 66606
28039 --> 66607
28040 --> 66610
28041 --> 66611
28042 --> 66612
28043 --> 66613
28044 --> 66614
28045 --> 66615
28046 --> 66616
28047 --> 66617
28048 --> 66620
28049 --> 66621
28050 --> 66622
28051 --> 66623
28052 --> 66624
28053 --> 66625
28054 --> 66626
28055 --> 66627
28056 --> 66630
28057 --> 66631
28058 --> 66632
28059 --> 66633
28060 --> 66634
28061 --> 66635
28062 --> 66636
28063 --> 66637
28064 --> 66640
28065 --> 66641
28066 --> 66642
28067 --> 66643
28068 --> 66644
28069 --> 66645
28070 --> 66646
28071 --> 66647
28072 --> 66650
28073 --> 66651
28074 --> 66652
28075 --> 66653
28076 --> 66654
28077 --> 66655
28078 --> 66656
28079 --> 66657
28080 --> 66660
28081 --> 66661
28082 --> 66662
28083 --> 66663
28084 --> 66664
28085 --> 66665
28086 --> 66666
28087 --> 66667
28088 --> 66670
28089 --> 66671
28090 --> 66672
28091 --> 66673
28092 --> 66674
28093 --> 66675
28094 --> 66676
28095 --> 66677

The end of the run, 28095, falls on March 5th 2026. 

Here is an infographic that summarises some of the information about hidden beast numbers.


Figure 1: generated by NotebookLM

Wednesday, 21 August 2024

More Hidden Beast Numbers

On the 6th of August 2023, I made a post titled Hidden Beast Numbers in which I considered numbers whose sum of prime factors contained the digit sequence "666", the so-called "number of the beast". The prime factors could be counted with or without multiplicity. An example of the former would be:$$998515=5 \times 7 \times 47 \times 607\\ \text{ where } 5 + 7 + 47 +607 = 666$$An example of the latter would be:$$11898=2 \times 3 \times 3 \times 661 \\ \text{ where } 2 + 3 + 661 =666$$Today when looking for properties for the number 27534, I noticed that when expressed to base 8 it contains the digit 6 three times but the digits are not contiguous. We have:$$27534_{10}=65616_8$$This led me to investigate decimal numbers that, when expressed in base 8, contain the digit sequence "666" where these digits are contiguous and not separated by other digits. This does not exclude the possibility of "6666" or "66666". Indeed, 28086 --> 66666.

It turns out that there are 197 numbers with this property in the range up to 40000. These numbers are (permalink):

438, 950, 1462, 1974, 2486, 2998, 3504, 3505, 3506, 3507, 3508, 3509, 3510, 3511, 4022, 4534, 5046, 5558, 6070, 6582, 7094, 7600, 7601, 7602, 7603, 7604, 7605, 7606, 7607, 8118, 8630, 9142, 9654, 10166, 10678, 11190, 11696, 11697, 11698, 11699, 11700, 11701, 11702, 11703, 12214, 12726, 13238, 13750, 14262, 14774, 15286, 15792, 15793, 15794, 15795, 15796, 15797, 15798, 15799, 16310, 16822, 17334, 17846, 18358, 18870, 19382, 19888, 19889, 19890, 19891, 19892, 19893, 19894, 19895, 20406, 20918, 21430, 21942, 22454, 22966, 23478, 23984, 23985, 23986, 23987, 23988, 23989, 23990, 23991, 24502, 25014, 25526, 26038, 26550, 27062, 27574, 28032, 28033, 28034, 28035, 28036, 28037, 28038, 28039, 28040, 28041, 28042, 28043, 28044, 28045, 28046, 28047, 28048, 28049, 28050, 28051, 28052, 28053, 28054, 28055, 28056, 28057, 28058, 28059, 28060, 28061, 28062, 28063, 28064, 28065, 28066, 28067, 28068, 28069, 28070, 28071, 28072, 28073, 28074, 28075, 28076, 28077, 28078, 28079, 28080, 28081, 28082, 28083, 28084, 28085, 28086, 28087, 28088, 28089, 28090, 28091, 28092, 28093, 28094, 28095, 28598, 29110, 29622, 30134, 30646, 31158, 31670, 32176, 32177, 32178, 32179, 32180, 32181, 32182, 32183, 32694, 33206, 33718, 34230, 34742, 35254, 35766, 36272, 36273, 36274, 36275, 36276, 36277, 36278, 36279, 36790, 37302, 37814, 38326, 38838, 39350, 39862

An example would be:$$39862_{10} = 115666_{\,8} $$In base 7, there are 296 such numbers and they are (permalink):

342, 685, 1028, 1371, 1714, 2057, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2743, 3086, 3429, 3772, 4115, 4458, 4795, 4796, 4797, 4798, 4799, 4800, 4801, 5144, 5487, 5830, 6173, 6516, 6859, 7196, 7197, 7198, 7199, 7200, 7201, 7202, 7545, 7888, 8231, 8574, 8917, 9260, 9597, 9598, 9599, 9600, 9601, 9602, 9603, 9946, 10289, 10632, 10975, 11318, 11661, 11998, 11999, 12000, 12001, 12002, 12003, 12004, 12347, 12690, 13033, 13376, 13719, 14062, 14399, 14400, 14401, 14402, 14403, 14404, 14405, 14748, 15091, 15434, 15777, 16120, 16463, 16758, 16759, 16760, 16761, 16762, 16763, 16764, 16765, 16766, 16767, 16768, 16769, 16770, 16771, 16772, 16773, 16774, 16775, 16776, 16777, 16778, 16779, 16780, 16781, 16782, 16783, 16784, 16785, 16786, 16787, 16788, 16789, 16790, 16791, 16792, 16793, 16794, 16795, 16796, 16797, 16798, 16799, 16800, 16801, 16802, 16803, 16804, 16805, 16806, 17149, 17492, 17835, 18178, 18521, 18864, 19201, 19202, 19203, 19204, 19205, 19206, 19207, 19550, 19893, 20236, 20579, 20922, 21265, 21602, 21603, 21604, 21605, 21606, 21607, 21608, 21951, 22294, 22637, 22980, 23323, 23666, 24003, 24004, 24005, 24006, 24007, 24008, 24009, 24352, 24695, 25038, 25381, 25724, 26067, 26404, 26405, 26406, 26407, 26408, 26409, 26410, 26753, 27096, 27439, 27782, 28125, 28468, 28805, 28806, 28807, 28808, 28809, 28810, 28811, 29154, 29497, 29840, 30183, 30526, 30869, 31206, 31207, 31208, 31209, 31210, 31211, 31212, 31555, 31898, 32241, 32584, 32927, 33270, 33565, 33566, 33567, 33568, 33569, 33570, 33571, 33572, 33573, 33574, 33575, 33576, 33577, 33578, 33579, 33580, 33581, 33582, 33583, 33584, 33585, 33586, 33587, 33588, 33589, 33590, 33591, 33592, 33593, 33594, 33595, 33596, 33597, 33598, 33599, 33600, 33601, 33602, 33603, 33604, 33605, 33606, 33607, 33608, 33609, 33610, 33611, 33612, 33613, 33956, 34299, 34642, 34985, 35328, 35671, 36008, 36009, 36010, 36011, 36012, 36013, 36014, 36357, 36700, 37043, 37386, 37729, 38072, 38409, 38410, 38411, 38412, 38413, 38414, 38415, 38758, 39101, 39444, 39787

An example would be:$$39787_{10} = 223666_{ \,7} $$In base 9, there are 103 such numbers and they are (permalink):

546, 1275, 2004, 2733, 3462, 4191, 4914, 4915, 4916, 4917, 4918, 4919, 4920, 4921, 4922, 5649, 6378, 7107, 7836, 8565, 9294, 10023, 10752, 11475, 11476, 11477, 11478, 11479, 11480, 11481, 11482, 11483, 12210, 12939, 13668, 14397, 15126, 15855, 16584, 17313, 18036, 18037, 18038, 18039, 18040, 18041, 18042, 18043, 18044, 18771, 19500, 20229, 20958, 21687, 22416, 23145, 23874, 24597, 24598, 24599, 24600, 24601, 24602, 24603, 24604, 24605, 25332, 26061, 26790, 27519, 28248, 28977, 29706, 30435, 31158, 31159, 31160, 31161, 31162, 31163, 31164, 31165, 31166, 31893, 32622, 33351, 34080, 34809, 35538, 36267, 36996, 37719, 37720, 37721, 37722, 37723, 37724, 37725, 37726, 37727, 38454, 39183, 39912

An example would be:$$39912_{10} = 60666_{\,9}$$

Sunday, 23 June 2024

Pythagorean Triangles With Integer Sides

It's not obvious from the description in the OEIS that the numbers forming the sequence can in fact be with associated with Pythagorean triads and right angled triangles. Today I turned 27475 days old and one of the properties of this number is its membership of OEIS A334542.


 A334542

Numbers \(m\) such that \(m^2 = p^2 + k^2\), with \(p\) > 0, where \(p\) = A007954 (\(m\)) = the product of digits of \(m\).



27475 has a product of digits equal to 1960. Let's form a right angles triangle with 27475 as the hypotenuse and 1960 as one of the two sides forming the right angle. Let's call the other side \(x\). The relationship between \(x\), 1960 and 27475 can be expressed as:$$ \begin{align} x^2+1960^2 &= 27475^2\\x^2 &= 27475^2-1960^2\\x &= \sqrt{27475^2-1960^2} \\  &= 27405 \end{align} $$The square root and value of \(x\) just happens to be an integer but this is rarely the case. In general, with \(m\) as the number and \(p\) as its product of digits (with \(p\) > 0), we will have:$$ \begin{align} x^2 &= m^2-p^2 \\ x &= \sqrt{m^2-p^2} \end{align} $$ Here is a permalink to a program that will generate the 16 members of OEIS A334542 sequence up 40000, excluding the trivial single digit numbers, and showing the Pythagorean triads as well. With the Side 1 column being the products of digits and the Hypotenuse column being the sequence numbers, the results are:

Thus the members of the sequence are 58, 85, 375, 666, 1968, 1998, 3578, 3665, 3891, 4658, 4995, 6675, 7735, 18434, 27475 and 28784. Note the appearance of the Number of the Beast, 666, in the sequence.

The same approach can be made using the sum of digits instead of the product of digits. The only results are 17, 25 and 85 with the familiar triads shown below (Side 1 shows the sum of digits --> permalink):


These types of Pythagorean triads have the property that they are self-referencing. The number and its sum of digits or product of the digits form two sides and Pythagoras' Theorem takes care of the remaining side.

As another example, let's investigate whether there are numbers such that the number and its reversal form a Pythagorean Triad. It turns out that there are eight such numbers in the range up to 100,000. Ignoring the numbers formed by the reversals, these are 56, 5265, 5656, 12705, 56056, 55517, 51557 and 59248 and they form the triads (permalink) shown below (Side 2 column shows the numbers and the Hypotenuse column shows their reversals):

Sunday, 6 August 2023

Hidden Beast Numbers

The number associated with my diurnal age today, 27153, gave me the idea for what I'm terming "hidden beast numbers". This number factorises to 3 x 3 x 7 x 431 and its sum of prime factors, with multiplicity, is 444. This prompted me to find all numbers whose sum of prime factors have identical digits. This sequence does not appear in the OEIS but I added it to my Bespoken for Sequences.

However, in this post I'm only interested in those numbers whose prime factors add to 666, the so-called "number of the beast". Obviously in numbers like 27666, the three sixes are scarcely hidden but in a number like: $$ 998515 = 5 \times 7 \times 47 \times 607$$the three sixes are not so obvious. It is only when we add the 5, 7, 47 and 607 together that find the 666.

The 248 numbers (excluding numbers whose sum is a single digit) with this property are as follows (permalink) up to one million:

3305, 3966, 4613, 6590, 7908, 8489, 12293, 14366, 14789, 21998, 29093, 29486, 32489, 35813, 36568, 40133, 41139, 43289, 46373, 48868, 48975, 51353, 52240, 55193, 57989, 57998, 58770, 60713, 62688, 67288, 70524, 75699, 78244, 79913, 81989, 83333, 84206, 87173, 87448, 92933, 97432, 98379, 98789, 99653, 100889, 105113, 106468, 106755, 106793, 107753, 108389, 109289, 109611, 110213, 110489, 110633, 113726, 113872, 119198, 128106, 146392, 146644, 158515, 163455, 164691, 169886, 174352, 175539, 183998, 190218, 196146, 200846, 203032, 208975, 210926, 212248, 215246, 219566, 219998, 226450, 228411, 230488, 232683, 238779, 247555, 250770, 257368, 259299, 267488, 271740, 283672, 289539, 289856, 290788, 291655, 292312, 297066, 300924, 317848, 319131, 323500, 325348, 326088, 328851, 342808, 345499, 349986, 353650, 357579, 366849, 368548, 379455, 383128, 385659, 388200, 391588, 396628, 404752, 405844, 406552, 414080, 416650, 424380, 429028, 431019, 436725, 436888, 436948, 438244, 441098, 452672, 455346, 457371, 458968, 465840, 467571, 480963, 491499, 493570, 494488, 496896, 499980, 507955, 509256, 516339, 524070, 530115, 533312, 553539, 556299, 559008, 565456, 572575, 572913, 573208, 579352, 592284, 599976, 609546, 614872, 625155, 628884, 630140, 631768, 636138, 644859, 651771, 658975, 659395, 666832, 674008, 674973, 687090, 691731, 693592, 697255, 705100, 710739, 721048, 725650, 729688, 732896, 733912, 748371, 750186, 756168, 757912, 758259, 759615, 780291, 786328, 789592, 790770, 791274, 799015, 804952, 807832, 810256, 811179, 820899, 821272, 824508, 825651, 825979, 835288, 836706, 843352, 843488, 843855, 846120, 848728, 850689, 851992, 852651, 860248, 866968, 868312, 868888, 870780, 879452, 879655, 884559, 884619, 888291, 900112, 900200, 902528, 905571, 908811, 911538, 912543, 923931, 928832, 939699, 948771, 948924, 951885, 954819, 957243, 958491, 958818, 967779, 975339, 976851, 977499, 979179, 992563, 998515

Looking through this list we see that there is only one number that contains, overtly, the sequence 666. The number is: $$ 666832 = 2 \times 2 \times 2 \times  2 \times 71 \times 587 $$So this number is rather special in that it contains both on overt and covert 666 sequence. Of course, if we consider only distinct prime factors, ignoring multiplicity, we get a different list with only 192 members and with some numbers in common between the two lists. Permalink.

3305, 3966, 4613, 6590, 7932, 8489, 11898, 12293, 13180, 14366, 14789, 15864, 16525, 21998, 23796, 26360, 28732, 29093, 29486, 31728, 32291, 32489, 32950, 35694, 35813, 40133, 43289, 43996, 46373, 47592, 51353, 52720, 55193, 57464, 57989, 57998, 58972, 60713, 63456, 65900, 71388, 79913, 81989, 82625, 83333, 84206, 87173, 87992, 92933, 95184, 98789, 99653, 100889, 105113, 105440, 106755, 106793, 107082, 107753, 108389, 109289, 110213, 110357, 110489, 110633, 113726, 114928, 115996, 117944, 119198, 126912, 131800, 142776, 158026, 163455, 164750, 168412, 169886, 175539, 175984, 183998, 190368, 200846, 210880, 210926, 214164, 215246, 219566, 219998, 226037, 227452, 229856, 231992, 233567, 235888, 238396, 247555, 250770, 253824, 263600, 285552, 291655, 297066, 316052, 320265, 321246, 329500, 336824, 339772, 340147, 349986, 351968, 367996, 373966, 379455, 380736, 401692, 413125, 421760, 421852, 428328, 430492, 439132, 439996, 454904, 459712, 463984, 467571, 471776, 476792, 480963, 490365, 493570, 501540, 507648, 507955, 526617, 527200, 530115, 533775, 553539, 571104, 594132, 609546, 625155, 632104, 642492, 659000, 659395, 673648, 678178, 679544, 687090, 697255, 699972, 703936, 735992, 747932, 748371, 752310, 759615, 761472, 790770, 791274, 799015, 803384, 817275, 823750, 825979, 836706, 843520, 843704, 843855, 856656, 860984, 878264, 879655, 879992, 884559, 891198, 909808, 912543, 919424, 927968, 943552, 953584, 957243, 958818, 960795, 963738, 987140, 998515

Looking through the list, the first new number to appear is 11898 with the property that: $$ 11898 = 2 \times 3 \times 3 \times 661$$In this number, we ignore the second 3 and thus the sum is 2 + 3 + 661 = 666.