Showing posts with label pseudoperfect. Show all posts
Showing posts with label pseudoperfect. Show all posts

Sunday, 8 February 2026

And Yet Another Weird Day

Since August of 2019 I've been taking note of weird numbers that pop up in the numbers associated with my diurnal age. See Figure 1 and Figure 2.

Figure 1: 25690 = 70 x 367

Figure 2: 27790 = 70 x 397

As can be seen, such numbers are few and far between but today is another such number. See Figure 3.
Figure 3: 28070 = 70 x 401

However, it will be 560 days before my next weird numbered day (28630). I've discussed weird numbers before in blog posts titled Weird Numbers and Another Weird Number so I won't repeat that here.


The point of this post is simply to celebrate the day which falls on a Sunday as do all these multiples of 70. I was born on a Sunday and 10 weeks later I turned 70 days old.

Sunday, 4 May 2025

Another Weird Day

It's been 560 days since my last \( \textbf{weird} \) day. Today I turned \( \textbf{27790} \) days old and once again it's weird. I've written about this type of number before in blog posts titled Weird Numbers on August 4th 2019 and also in an earlier post titled Zumkellar Numbers, Half Zumkellar Numbers and Pseudoperfect Numbers on November 22nd 2018.

Most abundant numbers are pseudoperfect meaning that a subset of their proper divisors can be chosen so that their sum is equal to the number. If the sum of all the proper divisors of a number equals the number itself, then the number is said to be perfect. The first few perfect numbers are 6, 28, 496, 8128 and 33550336. An example of an abundant number that is pseudoperfect is 24 with proper divisors of 1, 2, 3, 4, 6, 8 and 12. Adding these gives 36 so the number is clearly abundant. However, if we add the proper divisors without including 12, we reach 24 and so the number is pseudoperfect.

There are two types of weird numbers: primitive and non-primitive. A non-primitive weird number is a number that is a multiple of a weird number. The primitive weird numbers up to 40000 are 70, 836, 4030, 5830, 7192, 7912, 9272, 10792 and 17272. Here is a list of all weird numbers (primitive and non-primitive) up to 40000:

70, 836, 4030, 5830, 7192, 7912, 9272, 10430, 10570, 10792, 10990, 11410, 11690, 12110, 12530, 12670, 13370, 13510, 13790, 13930, 14770, 15610, 15890, 16030, 16310, 16730, 16870, 17272, 17570, 17990, 18410, 18830, 18970, 19390, 19670, 19810, 20510, 21490, 21770, 21910, 22190, 23170, 23590, 24290, 24430, 24710, 25130, 25690, 26110, 26530, 26810, 27230, 27790, 28070, 28630, 29330, 29470, 30170, 30310, 30730, 31010, 31430, 31990, 32270, 32410, 32690, 33530, 34090, 34370, 34930, 35210, 35630, 36470, 36610, 37870, 38290, 38990, 39410, 39830, 39970

All the numbers above with the exception of the primitive weird numbers in red are multiples of 70. Any weird number multiplied by a prime number that is greater than the sum of the divisors of the numbers is itself weird. Thus 70 has a sum of divisors of 144 and the first prime above this is 149. 70 x 149 produces the weird number 10430.

As can be seen, my next weird number (28070) is 280 days away and after that there is a gap of 560 days to my next weird number (28630). The gaps of course are determined by the distance between successive prime numbers. Thus:$$ \begin{align} 27790 &=70 \times 397\\28070 &=70 \times 401 \\28630 &=70 \times 409 \end{align} $$Here is a fuller list of primitive weird numbers (link):

70, 836, 4030, 5830, 7192, 7912, 9272, 10792, 17272, 45356, 73616, 83312, 91388, 113072, 243892, 254012, 338572, 343876, 388076, 519712, 539744, 555616, 682592, 786208, 1188256, 1229152, 1713592, 1901728, 2081824, 2189024, 3963968, 4128448

While this post is a little repetitive, I feel it's important to acknowledge the occurrence of weird numbers when they occur because of their rarity.

Sunday, 19 December 2021

Mathematical Properties of 2022

It's always interesting to look at the mathematical properties of the number being used to mark the year ahead in the Anno Domini or AD system. At the time of creation of this post, that number is 2022. First and foremost, its factors should be considered and these are 2, 3 and 337 marking it as a so-called sphenic number because it is the product of three distinct primes. 

I've written about these sorts of numbers in two posts titled Sphenic Numbers on June 25th 2018 and Sphenic Numbers Revisited on January 1st 2018. All sphenic numbers have exactly eight divisors and in the case of 2022, these are 1, 2, 3, 6, 337, 674, 1011 and 2022.

2022 has the distinction of belonging to OEIS A105936:


 A105936

Numbers that are the product of exactly 3 primes and are of the form prime(\(n\)) + prime(\(n\)+1).


The initial members are:
8, 12, 18, 30, 42, 52, 68, 78, 138, 172, 186, 222, 258, 268, 410, 434, 508, 548, 618, 668, 762, 772, 786, 892, 906, 946, 978, 1002, 1030, 1132, 1334, 1374, 1446, 1542, 1606, 1758, 1866, 1878, 1948, 2006, 2022, 2252, 2334, 2414, 2452, 2468, 2486, 2572, 2588

It should be noted that not all members of this sequence are sphenic. For example, 12 is a member but it is not a product of three distinct primes because the factor 2 is repeated. In the case of 12, it can be seen that it is the sum of two consecutive primes viz. 5 and 7. For 2022, the two consecutive primes are 1009 and 1013. The fact that they are separated by 4 makes them cousin primes.

Consulting the Online Encyclopaedia of Integer Sequences or OEIS, the second sequence of interest is OEIS A141769:


 A141769

Beginning of a run of 4 consecutive Niven (or Harshad) numbers.  


The initial members of the sequence are:
1, 2, 3, 4, 5, 6, 7, 510, 1014, 2022, 3030, 10307, 12102, 12255, 13110, 60398, 61215, 93040, 100302, 101310, 110175, 122415, 127533, 131052, 131053, 196447, 201102, 202110, 220335, 223167, 245725, 255045, 280824, 306015, 311232, 318800, 325600, 372112, 455422

Harshad or Niven numbers as they are also called are simply numbers that are divisible by their sum of digits. In the case of 2022, it can be seen that it and the three consecutive numbers following it are Harshad. Let's confirm that:$$ \begin{align} \frac{2022}{6}&=337\\ \frac{2023}{7}&=289\\ \frac{2024}{8}&=278\\ \frac{2025}{5}&=405 \end{align}$$ As can be seen such runs are not common. However, it is possible to have runs of up to twenty consecutive Harshad numbers. See Figure 1.

I've written about Harshad numbers in posts titled Harshad Numbers on February 11th 2017 and Harshad Numbers Revisited on June 30th 2018. Figure 1 shows the start of consecutive runs up to 13. Note that the numbers from 1 to 10 are trivially Harshad.


Figure 1: permalink for calculating runs

The next interesting property of 2022 is that not only is it a Harshad number but so are all its powers up to the 7th power. Figure 2 confirms this (SOD stands for Sum Of Digits):


Figure 2: permalink

This property constitutes OEIS A135192:


 A135192

Numbers \(n\) that raised to the powers from 1 to \(k\) (with \(k \geq 1 \)) are multiple of the sum of their digits (\(n\) raised to \(k\)+1 must not be a multiple). Case \(k\)=7.


The initial members of the sequence are:
126, 480, 660, 810, 882, 1020, 1134, 1170, 1260, 1320, 1560, 1590, 2022, 3042, 3222, 4662, 4800, 5670, 5940, 6240, 6600, 7110, 7452, 8100, 8442, 8550, 8820, 8880, 9510, 10110, 10200, 10350, 10620, 10890, 11010, 11106, 11130, 11340, 11460, 11700, 11970
Not only is 2022 a Harshad number but it is also an admirable number, the latter being defined as a number whose sum of proper divisors is equal to the number itself with the proviso that one of the divisors is negative. In the case of 2022, its proper divisors are 1, 2, 3, 6, 337, 674 and 1011 which sum to 2034. However, if the +6 is made -6, then the sum becomes 2022. Moreover, 6 happens to be the digit sum of 2022 since 2 + 2 + 0 + 2 =6. This qualifies 2022 for membership is OEIS A111948: 


 A111948

Admirable Harshad numbers \(n\) such that the subtracted divisor is equal to the digital sum of \(n\).


The initial members of the sequence are:
24, 42, 114, 222, 402, 2022, 2202, 7588, 8596, 10014, 11202, 12102, 17668, 21102, 27748, 29764, 31002, 32788, 39844, 42868, 43876, 45388, 46396, 48916, 49924, 55972, 56476, 57484, 58492, 65548, 66556, 69076, 70588, 71596, 78148, 81676
2022 is also a self number because there is no number that, when added to its sum of digits, produces 2022. Thus it both a Harshad and a self number which qualifies it for membership in OEIS  A003219:


 A003219

Self numbers divisible by sum of their digits (or, self numbers which are also Harshad numbers).


The initial terms of the sequence are:
1, 3, 5, 7, 9, 20, 42, 108, 110, 132, 198, 209, 222, 266, 288, 312, 378, 400, 468, 512, 558, 648, 738, 782, 804, 828, 918, 1032, 1098, 1122, 1188, 1212, 1278, 1300, 1368, 1458, 1526, 1548, 1638, 1704, 1728, 1818, 1974, 2007, 2022, 2088, 2112, 2156, 2178 
I've written about self numbers in a post titled Self Numbers and Junction Numbers on October 25th 2018.

The next two interesting properties of 2022 involve primes (as did OEIS A105936 mentioned earlier). The first property qualifies it for admission in OEIS A023523 (permalink):


 A023523

a(\(n\)) = prime(\(n\))*prime(\(n\)-1) + 1.                                              


The initial members of the sequence are with prime(0) being considered as 1:
3, 7, 16, 36, 78, 144, 222, 324, 438, 668, 900, 1148, 1518, 1764, 2022, 2492, 3128, 3600, 4088, 4758, 5184, 5768, 6558, 7388, 8634, 9798, 10404, 11022, 11664, 12318, 14352, 16638, 17948, 19044, 20712, 22500, 23708, 25592, 27222, 28892
In the case of 2022, it is the product of the 14th prime (43) and the 15th prime (47) plus 1.

The second interesting property of 2022 involving primes qualifies it for membership in OEIS A064403:


 A064403



Numbers \(k\) such that prime(\(k\)) + \(k\) and prime(\(k\)) - \(k\) are both primes.  


The initial members of this sequence are:
4, 6, 18, 42, 66, 144, 282, 384, 408, 450, 522, 564, 618, 672, 720, 732, 744, 828, 858, 1122, 1308, 1374, 1560, 1644, 1698, 1776, 1848, 1920, 2022, 2304, 2412, 2616, 2766, 2778, 2874, 2958, 2970, 3036, 3042, 3240, 3258, 3354, 3360, 3432, 3540, 3594, 3732

In the case of 2022, the two primes are 19603 and 15559 respectively. 

This next property of 2022 is quite unusual and took me some time to fully grasp. This property qualifies the number for membership in OEIS A335600:


 A335600

The poor sandwiches sequence.                                                 


The sequence runs:
2, 1, 110, 10, 1101, 11010, 3, 330, 30, 3303, 33030, 4, 440, 40, 4404, 44040, 5, 550, 50, 5505, 55050, 6, 660, 60, 6606, 66060, 7, 770, 70, 7707, 77070, 8, 880, 80, 8808, 88080, 9, 990, 90, 9909, 99090, 11, 101, 1010, 22, 20, 202, 220, 2022, 2020, 33, 303, 3030, 44, 404, 4040, 55, 505, 5050, 66, 606, 6060, 77

 The OEIS comments help explain what it's all about:

Imagine we would have a pair of adjacent integers in the sequence like [1951, 2020]. The sandwich would then be made of the rightmost digit of a(n), the leftmost digit of a(n+1) and, in between, the absolute difference of those two digits. The pair [1951, 2020] would then produce the (poor) sandwich 112. 

Why poor? Because a rich sandwich would insert the sum of the digits instead of their absolute difference - that is 132 in this example. Please note that the pair [2020, 1951] would produce the poor and genuine sandwich 011 (we keep the leading zero: these are sandwiches after all, not integers).

Now we want the sequence to be the lexicographically earliest sequence of distinct positive terms such that the successive sandwiches emerging from the sequence rebuild it, digit after digit.

EXAMPLE

The first successive sandwiches are: 211, 101, 011, 011, 101, 033,...

The first one (211) is visible between a(1) = 2 and a(2) = 1; we get the sandwich by inserting the difference 1 between 2 and 1.

The second sandwich (101) is visible between a(2) = 1 and a(3) = 110; we get this sandwich by inserting the difference 0 between 1 and 1.

The third sandwich (011) is visible between a(3) = 110 and a(4) = 10; we get this sandwich by inserting the difference 1 between 0 and 1; etc.

The successive sandwiches rebuild, digit by digit, the starting sequence.

2022 is what is called an untouchable number because it is not equal to the sum of the proper divisors of any number. The untouchable numbers, up to and including 2022, are:

2, 5, 52, 88, 96, 120, 124, 146, 162, 188, 206, 210, 216, 238, 246, 248, 262, 268, 276, 288, 290, 292, 304, 306, 322, 324, 326, 336, 342, 372, 406, 408, 426, 430, 448, 472, 474, 498, 516, 518, 520, 530, 540, 552, 556, 562, 576, 584, 612, 624, 626, 628, 658, 668, 670, 708, 714, 718, 726, 732, 738, 748, 750, 756, 766, 768, 782, 784, 792, 802, 804, 818, 836, 848, 852, 872, 892, 894, 896, 898, 902, 926, 934, 936, 964, 966, 976, 982, 996, 1002, 1028, 1044, 1046, 1060, 1068, 1074, 1078, 1080, 1102, 1116, 1128, 1134, 1146, 1148, 1150, 1160, 1162, 1168, 1180, 1186, 1192, 1200, 1212, 1222, 1236, 1246, 1248, 1254, 1256, 1258, 1266, 1272, 1288, 1296, 1312, 1314, 1316, 1318, 1326, 1332, 1342, 1346, 1348, 1360, 1380, 1388, 1398, 1404, 1406, 1418, 1420, 1422, 1438, 1476, 1506, 1508, 1510, 1522, 1528, 1538, 1542, 1566, 1578, 1588, 1596, 1632, 1642, 1650, 1680, 1682, 1692, 1716, 1718, 1728, 1732, 1746, 1758, 1766, 1774, 1776, 1806, 1816, 1820, 1822, 1830, 1838, 1840, 1842, 1844, 1852, 1860, 1866, 1884, 1888, 1894, 1896, 1920, 1922, 1944, 1956, 1958, 1960, 1962, 1972, 1986, 1992, 2008, 2010, 2022

These numbers constitute OEIS A005114. 

2022 is a primitive abundant number, since it is smaller than the sum of its proper divisors, none of which is abundant.

2022 is a pseudoperfect number, because it is the sum of a subset of its proper divisors which are 1, 2, 3, 6, 337, 674 and 1011. If the subset {337, 674, 1011} is taken then we have 337 + 674 + 1011 = 2020.

2022 is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (2028). The divisors of 2022 are 1, 2, 3, 6, 337, 674, 1011 and 2022 and these sum to 4056 or 2 x 2028. There are four groupings of two sets satisfying the condition that each sum to 2028. These are:

  • 6, 2022 and 1, 2, 3, 337, 674, 1011
  • 1, 2, 3, 2022 and 6, 337, 674, 1011
  • 6, 337, 674, 1011 and 1, 2, 3, 2022
  • 1, 2, 3, 337, 674, 1011 and 6, 2022

There's a lot more that could be said about 2022 but I'll leave off with a reference to "dismal" arithmetic or "lunar" arithmetic as it's apparently been renamed. Here is a link to a PDF file of July 5th 2011 that explains what is meant by dismal arithmetic. It's free to download. The famous N.J.A. Sloane who created the OEIS is a co-author. Here is the abstract:

Dismal arithmetic is just like the arithmetic you learned in school, only simpler: there are no carries, when you add digits you just take the largest, and when you multiply digits you take the smallest. This paper studies basic number theory in this world, including analogues of the primes, number of divisors, sum of divisors, and the partition function.

2022 makes an appearance in lunar arithmetic via OEIS A170806:


 A170806

Primes in lunar arithmetic in base 3 written in base 3.   

 In Sloane's paper, there is the following definition:

Theorem 9. In base \(b\) dismal arithmetic, \(n\) is prime if and only if the dismal sum of its distinct dismal prime divisors is equal to \(n\).

I won't go further into this arithmetic in this post but perhaps I will later on. 

Saturday, 12 June 2021

23500: Blast from the Past

One of my earliest posts regarding my diurnal age dates to August 5th 2013 and was uploaded to my Pedagogical Posturing blog. This Mathematical Meandering blog did not exist at that time. This was before I had any notion that OEIS and other resources existed. Rather naively, I wrote in a post titled Reflections on 23500:

Today I'm 23500 days old and I was looking around to see if there was any significance to this number. It's factors are unremarkable (2^2 x 5^3 x 47) but the fact that it's halfway between 23000 and 24000 means that it pops up quite frequently in Internet searches, as would 22500 or 24500 I would imagine. A search reveals that the approximate population of Boston in 1620 was 23500 and there are several towns around the world that are listed as having this population currently e.g. Bishopbriggs in Scotland.

Bishopbriggs grew from a small rural village on the old road from Glasgow to Kirkintilloch and Stirling during the 19th century, eventually growing to incorporate the adjacent villages of Auchinairn, Cadder, Jellyhill and Mavis Valley. It currently has a population of approximately 23,500 people.

Source: http://en.wikipedia.org/wiki/Bishopbriggs

It turns out that Mount Isa has the same population (source):

Mount Isa is located just 200 kilometres from the Northern Territory border and 1,829 kilometres from Queensland’s capital, Brisbane. The nearest major city, Townsville, can be found 883 kilometres from The Isa. Mount Isa covers an area of over 43,310 square kilometres, making it geographically the second largest city in Australia to Kalgoorlie-Boulder, Western Australia ... With a population of approximately 23,500, Mount Isa is a major service centre for north-west Queensland.

Many other examples of towns having populations of about 23500 could be quoted. In addition of populations, the number sometimes comes up as a dollar figure (source):

In its third annual funding cycle, the Black Philanthropy Initiative has pumped $23,500 back into the Winston-Salem area to help African Americans improve their parenting skills.

Interestingly, it turns out that the centre of the Sun is about 23500 times more distant from us than the centre of the Earth (source).

The sun is far enough away (about 23,500 earth radii) that it took a long time before people knew accurately how far away the sun was. Certainly the ancient Greeks had calculated the distance, but they also knew that their results could be off. 

Many countries in the world have five digit postal codes or zip codes as they are sometimes known. These codes identify particular locations within the country e.g. Muang Prachinburi, Prachinburi, Thailand has a postcode of 23500. The United States uses a five digit system but apparently there is no location corresponding to 23500, although there is for 23499 and 23501. 

I've improved the formatting somewhat but that post was made almost eight years ago and is testimony to how little I knew about number properties at the time. With my current skill set, what more can I uncover about 23500? It turns out that it has 18 entries in the OEIS and a couple of them are interesting enough for comment.

The first is its membership of OEIS A133524:


 A133524

Sum of squares of four consecutive primes.                           


The members of the sequence, up to 23500, are:
87, 204, 364, 628, 940, 1348, 2020, 2692, 3700, 4852, 5860, 7108, 8548, 10348, 12220, 14500, 16732, 18580, 21100, 23500

Nowadays I'd write a program in SageMath to generate this sequence. Here is a permalink to that program in SageMathCell.

The second is its membership of OEIS A035959 where \(n=42\):


 A035959



Number of partitions of \(n\) in which no parts are multiples of 5.        


The members of the sequence, up to 23500, are:
1, 1, 2, 3, 5, 6, 10, 13, 19, 25, 34, 44, 60, 76, 100, 127, 164, 205, 262, 325, 409, 505, 628, 769, 950, 1156, 1414, 1713, 2081, 2505, 3026, 3625, 4352, 5192, 6200, 7364, 8756, 10357, 12258, 14450, 17034, 20006, 23500

Here is the permalink to the algorithm in SageMathCell that will generate this sequence. 

As we turn to Numbers Aplenty, my other major source of information about numbers, we discover that it is a Harshad number as well as an abundant, practical, pseudoperfect and Zumkeller number. There's lots more information there as well. See Figure 1.


Figure 1: link

Over the years, I've developed programs related to practical, pseudoperfect and Zumkeller numbers. I've stored these as a Google Document accessible via this link.

For example, here is a permalink to a program that will determine all the practical numbers in a given range. Remember a practical number has the property that each smaller number is the sum of distinct divisors of that number. Between 23450 and 23550, there are the following practical numbers:
23450, 23452, 23460, 23472, 23474, 23478, 23484, 23490, 23496, 23500, 23504, 23506, 23520, 23528, 23530, 23532, 23540, 23542, 23544, 23548, 23550
A pseudoperfect number, sometimes called a semiperfect number, is a number in which a subset of its proper divisors sum to the number itself. Nearly all abundant numbers are pseudoperfect and the ones that aren't are called weird. In the case of 23500, there are many such subsets that can be formed from its proper divisors of 1, 2, 4, 5, 10, 20, 25, 47, 50, 94, 100, 125, 188, 235, 250, 470, 500, 940, 1175, 2350, 4700, 5875 and 11750. One such subset is 1175, 4700, 5875 and 11750. Here is permalink to SageMathCell and a program that will display all of the possible subsets.

Zumkeller numbers are related to perfect numbers such as 6, the divisors of which can be written as the set {1, 2, 3, 6}. There are two mutually exclusive subsets of this set, {1, 2, 3}  and {6}, whose union is the original set and both of whose elements add to 6. Zumkeller numbers are similar in that there are two mutually exclusive subsets of this set of divisors, whose union is the original set but with the difference that both of the elements in each subset add to a number other than the originating number. For example, 20 has the set of divisors {1, 2, 4, 5, 10, 20} and there are two subsets {1, 20} and {2, 4, 5, 10} that both total 21. Thus 20 is a Zumkeller number. In the case of 23500, there are many such pairs of subsets. Here is one example:

[4, 10, 94, 250, 2350, 23500] and [1, 2, 5, 20, 25, 47, 50, 100, 125, 188, 235, 470, 500, 940, 1175, 4700, 5875, 11750] which both sum to 26208.

Here is a permalink to a SageMathCell program that will display all the pairs of subsets.

Harshad or Niven numbers are divisible by the sum of their digits. Here is a permalink to a SageMathCell program that displays all such numbers in the range from 23450 to 23550. These numbers are:

23450, 23454, 23457, 23460, 23472, 23490, 23496, 23500, 23505, 23508, 23520, 23526, 23530, 23544, 23550

23500 is formed from a concatenation of the first three prime numbers (2, 3 and 5), followed by two zeroes. It's interesting to note that 23500 written in scientific notation as \(2.35 \times 10^4\) features all the digits from 0 to 5. Earth's axial tilt is close to 23.5° and, as mentioned in my original post, there is this most interesting astronomical detail regarding 23500: 

Distance to Sun = 1.5 x 10^13 cm = 23500 Earth radii = 1 Astronomical Unit (AU) 

So nothing mathematically Earth-shattering in this post but just a reflection on the differences in my mathematical knowledge between now and then. 

Sunday, 4 August 2019

Weird Numbers


Today I turned 25690 days old and this number is weird. Every weird number is abundant, meaning that the sum of its proper divisors exceeds the number itself. In the case of 25690, its proper divisors are 1, 2, 5, 7, 10, 14, 35, 70, 367, 734, 1835, 2569, 3670, 5138 and 12845. These sum to 27302. For an abundant number, there is generally a subset of the proper divisors whose sum equals the number. In such cases, the number is described as pseudoperfect or semiperfect. For a perfect number, such as 6, the sum of the proper divisors (1, 2 and 3) equals the number. In rare instances, there is no subset of proper divisors that sum to the number and in such cases the number is described as weird.

Here is the list of weird numbers below 30000:

70, 836, 4030, 5830, 7192, 7912, 9272, 10430, 10570, 10792, 10990, 11410, 11690, 12110, 12530, 12670, 13370, 13510, 13790, 13930, 14770, 15610, 15890, 16030, 16310, 16730, 16870, 17272, 17570, 17990, 18410, 18830, 18970, 19390, 19670, 19810, 20510, 21490, 21770, 21910, 22190, 23170, 23590, 24290, 24430, 24710, 25130, 25690, 26110, 26530, 26810, 27230, 27790, 28070, 28630, 29330, 29470

Coincidentally, I'm 70 years of age at the moment and 70 is the first weird number. So today I'm a weird number of days old and a weird number of years old!

As can be seen, weird numbers are not all that frequent and in fact there are only 57 such numbers up to 30000, representing a frequency of about 0.19%. The numbers shown are all even. It is not known if there are any odd weird numbers but if there are, it's been shown that they must be very large.


I've mentioned weird numbers before, in my post Zumkellar Numbers, Half Zumkellar Numbers and Pseudoperfect Numbers where I wrote on Thursday, 22nd November 2018:
While nearly all abundant numbers are pseudoperfect, some aren't. These numbers are termed weird and comprise OEIS A006037: weird numbers - abundant (A005101) but not pseudoperfect (A005835). From the comments to this sequence in the OEIS, we find:
Deléglise (1998) shows that abundant numbers have asymptotic density < 0.2480, resolving the question which he attributes to Henri Cohen of whether the abundant numbers have density greater or less than 1/4. The density of pseudoperfect numbers is the difference between the densities of abundant numbers (A005101) and weird numbers (A006037), since the remaining integers are perfect numbers (A000396), which have density 0. Using the first 22 primitive pseudoperfect numbers (A006036) and the fact that every multiple of a pseudoperfect number is pseudoperfect it can be shown that the density of pseudoperfect numbers is > 0.23790.
There are other interesting facts mentioned in the comments, including:
  • The first weird number that has more than one decomposition of its divisors set into two subsets with equal sum (and thus is not a member of A083209) is 10430:
  1+5+7+10+14+35+298+10430 = 2+70+149+745+1043+1490+2086+5215
  2+70+298+10430 = 1+5+7+10+14+35+149+745+1043+1490+2086+5215.
  • A weird number \(n\) multiplied with a prime \(p> \sigma(n) \) is again weird. Primitive weird numbers (A002975) are those which are not a multiple of a smaller term, i.e., don't have a weird proper divisor.
  • No odd weird number exists below \(10^{21}\).
The primitive weird numbers up to 30000 are:

70, 836, 4030, 5830, 7192, 7912, 9272, 10792, 17272

From this we can note that 25690 = 70 x 367 where 367 \(> \sigma(70)\) = 144. The next weird number 26110 = 70 x 373.