Showing posts with label brick. Show all posts
Showing posts with label brick. Show all posts

Wednesday, 19 August 2026

Super Sphenic Numbers

The number associated with my diurnal age today (28262) is what might be termed a "super sphenic number" as I'll explain in this post. Firstly however, its factorisation:$$28262=2 \times 13 \times 1087$$If we reverse its digits, we get the number 26282 and this number is also sphenic:$$26282 = 2 \times 17 \times 773$$Let's now concatenate the factors of 28262 in ascending order. This gives us the number 2131087 which is also sphenic:$$2131087 = 7 \times 167 \times 1823$$28262 has a sum of digits of 20 and if we add this to the original number we get the palindromic number 28282 which is also sphenic:$$28262+20=28282 = 2 \times 79 \times 179$$The number has a product of digits of 384 and if we subtract this from the original number we get 27878 which is sphenic:$$28262 - 384 = 27878 = 2 \times 53 \times 263$$If we consider only the internal digits of 28262, we get the number 826 which is also sphenic:$$2\, 826 \, 2 \rightarrow826=2 \times 7 \times 59$$When a sphenic number is considered as a sphenic brick then it has an associated number in the form of the brick's surface area. In the case of 28262, this associated surface area is 32662 square units and this number too is sphenic:$$32662 = 2 \times 7 \times 2333$$28262 has a sum of proper divisors that is also sphenic:$$ \sigma(28262) - 28262 =17434 = 2 \times 23 \times 379 $$The number has a sum of prime factors (1102) that is sphenic:$$2 +13+1087=1102 = 2 \times 19 \times 29$$28262 has a totient of 13032 which is not sphenic but its cototient (number - totient) of 15230 is:$$28262 - 13032 = 15230 = 2 \times 5 \times 1523$$So we can see that 28262 may well be termed a super sphenic number because of the above associations.

Wednesday, 16 October 2024

LEGO Mathematics

Figure 1 shows a 1 x 4 LEGO brick.

Figure 1

It turns out that if you have another three of these bricks and you stack them in every possible way on top of this base brick, then there are 27591 ways that you can do this. Today I'm 27591 days old and this number appeared in OEIS A123782:


A123782: number of ways to build a contiguous building with n LEGO blocks of size 1 x 4 on top of a fixed block of the same size. The base block is not counted among the \(n\) and must be the only block in the bottom layer of the building

The sequence begins 23, 679, 27591, 1227556, 59212274, 2990304700, 156407426393, ...

So there are 23 ways to stack a single 1 x 4 brick on top of another 1 x 4 brick. It took me a little sketching and visualisation but there are indeed 23 ways to do it. One way is to place the brick directly on top, then there are six more ways to do it with the long axes parallel and then sixteen ways to do with the long axes at right angles. Rotational symmetries are ignored here and only the strict physical orientation of the bricks are considered. Thus we have 1 + 6 + 16 = 23. So the famous number 23 pops up even in the context of LEGO.

There are other OEIS sequences relating to LEGO blocks and they are: 

  • A007575: number of stable towers of 2 X 2 LEGO blocks.

  • A007576: number of maximally stable towers of 2 X 2 LEGO blocks.

  • A112389: Number of ways, counted up to symmetry, to build a contiguous building with n LEGO blocks of size 2 X 4.

  • A112390: number of ways of building a building of height k using n 2 X 4 LEGO blocks, counted up to symmetry.

  • A123762: number of ways, counted up to symmetry, to build a contiguous building with n LEGO blocks of size 1 X 2

    ... right through to 

    A123827: number of ways to build a contiguous building with n LEGO blocks of size 2 X 3 on top of a fixed block of the same size so that the building is symmetric after a rotation by 180 degrees.

  • A123829: number of ways, counted up to symmetry, to build a contiguous building with n LEGO blocks of size 2x4 which is symmetric after a rotation by 180 degrees

    ... right through to

  • A123849: number of ways to build a contiguous building with n LEGO blocks of size 5 X 5 on top of a fixed block of the same size so that the building is symmetric after a rotation by 90 degrees.

  • A272690: number of buildings with n 2 X 4 LEGO bricks of maximal height.

Friday, 30 August 2024

Dancing Digits

Whenever I'm confronted with a number associated with my diurnal age that seems to have no interesting properties, I inevitably find something very special and interesting about that number. Yesterday's number, 27542, was a number of this sort and it took me a day to stumble upon what's interesting about it.

My starting point was that it's a sphenic number because:$$2542=2 \times 47 \times 293$$Such numbers can be viewed as sphenic bricks with the three prime factors corresponding to the length, width and height. The surface area of such a brick means that there is always a second number that is inextricably linked to the original sphenic number and I've written about this in earlier posts. In the case of 27542, this second number and the surface area of the brick is 28902. This second number however, is also sphenic since we have:$$28902=2 \times 3 \times 4817$$This means that we can find the surface area of this second brick. It is 48182 which is not sphenic. However, we now have a triplet of numbers formed:$$27542, 28902, 48182$$If we find the product of these three numbers, it turns out to be an interesting number:$$27542 \times 28902 \times 48182 = 38353781868888$$It's interesting because it's 14 digits long and the digit 8 comprises precisely half of them.

The question then is how common is it for such triplets of numbers, when multiplied, to generate a number in which a single digit comprises at least 50% of all the digits? Let's reflect on the criteria for such numbers:

  • the number must be sphenic and constitutes the first sphenic brick: p
  • the surface area of this brick must also be a sphenic number: q
  • this second number constitutes the second sphenic brick
  • the surface area of this second brick constitutes the third number: r
  • the product of p, q and r must contain a digit that comprises at least 50% of the digits of the number.
In the case of the digit 8, there are only three other numbers that qualify in the range up to 100,000 and these can be viewed in Figure 1. The first number in the list is 27542.


Figure 1: plethora of the digit 8

So it turns out that 27542 is the first member of a rather special sequence indeed. What about other digits? Let's start with 0.  Figure 2 shows the results for the digit 0, again up to 100,000.


Figure 2: plethora of the digit 0

The results for the digit 1 are shown in Figure 3.


Figure 3: plethora of the digit 1

For digits 2 and 3 there are no numbers and the results for digit 4 are shown in Figure 4.


Figure 4: plethora of the digit 4

For digit 6, 7 and 9 only one result is found in each case. See Figures 5, 6, 7 and 8.


Figure 5: plethora of the digit 5


Figure 6: plethora of the digit 6



Figure 7: plethora of the digit 7



Figure 8: plethora of the digit 9

Here is a permalink to the algorithm used to generate these numbers. Overall then, the numbers which produce a single digit that accounts for at least 50% of the final product of digits are:

1833, 1887, 7189, 14833, 15589, 16242, 16405, 27542, 36449, 38006, 38319, 43589, 87731

A very exclusive club indeed. Of course these number properties are base-dependent and so  fall into the realm of recreational mathematics but numberphiles are indifferent to such divisions and simply delight in the dance of the digits.

Monday, 19 August 2019

Euler Bricks

Figure 1
Having posted several times about "sphenic bricks", I came across the term "euler bricks" today in the context of the number \( 25704 = 2^3 \times 3^3 \times 7 \times 17 \) which represents my diurnal age. Here is the entry in OEIS A031173 to which 25704 belongs:
Longest edge \(a \) of smallest (measured by the longest edge) primitive Euler bricks such that \( a \), \( b \), \(c\), \( \sqrt {a^2 + b^2}, \sqrt {b^2 + c^2}, \sqrt {a^2 + c^2}\) are all integers. 
240, 275, 693, 720, 792, 1155, 1584, 2340, 2640, 2992, 3120, 5984, 6325, 6336, 6688, 6732, 8160, 9120, 9405, 10725, 11220, 12075, 13860, 14560, 16800, 17472, 17748, 18560, 19305, 21476, 23760, 23760, 24684, 25704
Figure 1 shows the list of primitive numbers, up to 25704, with \(c<b<a\). In the case of 25704, the face diagonals are 31080, 17497, and 25721. Looking at Figure 1, it can be seen that there are five primitive Euler bricks with dimensions under 1000 and ten if primitive and non-primitive are included. It can be shown that if \(a\), \(b\) and \(c\) are the sides of an Euler brick then \(ka\), \(kb\) and \(kc\) with \(k\) any positive integer also form such a brick and interestingly, the sides \(ab\), \(bc\) and \(ac\) as well. The five primitive Euler bricks are depicted in Figure 2.


Figure 2: source

A perfect Euler brick is (to quote from Wikipedia):
An Euler brick whose space diagonal also has integer length. In other words, the following equation is added to the system of Diophantine equations defining an Euler brick:
\(a^{2}+b^{2}+c^{2}=g^{2}\) where \(g\) is the space diagonal. As of July 2019, no example of a perfect cuboid had been found and no one has proven that none exist.
Figure 3 illustrates this:

Figure 3: source
To quote again from Wikipedia:
An almost-perfect cuboid is defined as a cuboid that has 6 out of the 7 lengths as rational. Such cuboids can be sorted into three types, called Body, Edge, and Face cuboids. In the case of the Body cuboid, the body (space) diagonal \(g\) is irrational. For the Edge cuboid, one of the edges \(a\), \(b\), \(c\) is irrational. The Face cuboid has just one of the face diagonals \(d\), \(e\), \(f\) irrational. The Body cuboid is commonly referred to as the Euler cuboid in honor of Leonard Euler, who discussed this type of cuboid. He was also aware of Face cuboids, and provided the (104, 153, 672) example.
The smallest solutions for each type of almost-perfect cuboids, given as edges, face diagonals and the space diagonal (\(a, b, c, d, e, f, g\)):
  • Body cuboid: (44, 117, 240, 125, 244, 267, √73225)
  • Edge cuboid: (520, 576, √618849, 776, 943, 975, 1105)
  • Face cuboid: (104, 153, 672, 185, 680, √474993, 697)