Showing posts with label symmetry. Show all posts
Showing posts with label symmetry. Show all posts

Monday, 2 November 2026

Binary Display

I noticed that Numbers Aplenty had the display shown in Figure 1 as part of its output for the number associated with my diurnal age today (28337) with the comment that "when arranged in a rectangular grid, its binary digits exhibit some kind of symmetry". The binary digits are 110111010110001 and there are 15 of them so they can be arranged in a 5 x 3 grid.


Figure 1

I quite liked this output and decided to incorporate it into the program for my daily number analysis. The output is as shown in Figure 2.


Figure 2

Every day, from this day forwards, there will be a similar display and I can decide whether there is anything of interest regarding the display, symmetrical or otherwise. Figure 3 shows the results for 27334 where there is also lateral symmetry.


Figure 3

The range of numbers for which there are 15 binary digits is 16,384 to 32,767 corresponding to \(2^{14}\) and \(2^{15}-1\). Prior to 16384, there is a range of numbers with 14 binary digits that can also be arranged in a rectangular grid. This range is from 8192 to 16383 corresponding to \(2^{13}\) and \(2^{14}-1\). Figure 4 shows the display for 16382:


Figure 4

Above 32767, we enter the realm of 16 binary digits and no grid will be displayed. The output for 32768 would be:

Integer : 32768
Binary  : 1000000000000000
Length  : 16 binary digits

Result  : Bit length 16 (factorization: 2^4) is NOT a biprime. 

No grid generated.

Of course, a 4 x 4 or 8 x 2 grid could be generated with a tweak of the algorithm but I'll consider that as I approach 32768 by which point I'll be 89 years old.

Monday, 19 October 2026

Even Number Bias

 I asked Gemini the following:

Whenever I set the temperature of the air conditioner, I invariably choose an even number (usually 24) and seldom do I choose an odd number. I only realised this when I’d accidentally set it to 23 degrees Celsius. Is there any research into the possibility of an even number bias whenever there is a choice of even or odd numbers?

Here is its response:

There is a robust body of cognitive psychology and numerical cognition research confirming that humans exhibit a distinct bias toward even numbers when setting arbitrary values like thermostat temperatures, television volumes, and alarm clocks. In cognitive science, this phenomenon is driven by processing fluency, the MARC effect, and semantic associations tied to parity.

1. The Parity Effect and Processing Fluency

In the study of numerical cognition, researchers have long observed that the human brain does not treat odd and even numbers equally. Known as the odd-even effect or parity preference, studies consistently demonstrate that people process even numbers faster and with fewer errors than odd numbers.

  • Reaction Time Studies: In classic parity judgment tasks (where subjects must quickly press a button to identify whether a flashed digit is odd or even), Terence Hines (1990) and subsequent researchers found that human reaction times are significantly faster for even digits than for odd ones.

  • Addition and Multiplication Fluency: Because we learn our multiplication tables early in life, and because multiplying any integer by an even number always yields an even result, even numbers occur much more frequently in our mental arithmetic lexicon.

  • Cognitive Ease: Psychologists refer to this speed and familiarity as processing fluency. When our brains can process a stimulus with less friction, we experience a subtle, subconscious positive affect toward it. When you look at a thermostat display, 24 simply "feels" more settled and harmonious than 23 because your brain processes it with slightly less cognitive effort.

2. Divisibility and the Need for Symmetry

From a mathematical standpoint, the defining characteristic of an even number is its divisibility by 2 without a remainder. In everyday psychology, this translates into a visceral sense of balance, symmetry, and completeness.

  • Mental Halving: Even numbers can be split cleanly into two equal parts (24 = 12 + 12), whereas odd numbers leave a " messy" remainder or fraction (23 = 11.5 + 11.5). When setting an environmental control like an air conditioner or a car radio volume, the brain treats the number not just as a measurement of heat or sound, but as a visual and conceptual anchor. An odd number like 23 subconsciously registers as "incomplete" or "off-balance," sitting uneasily between two stable points (22 and 24).

  • The "Round Number" Heuristic: Research by Schindler and Kirby (1997) into pricing and numerical preferences shows that humans gravitate toward numbers that feel "round" or serve as natural cognitive reference points. While multiples of 5 and 10 are the strongest anchors (which is why many people tolerate 25 on a volume dial even though it is odd), even numbers act as secondary anchors of stability across the entire number line.

3. Semantic Associations: "Good" vs. "Strange"

Psychologist Laurence E. Bourne Jr. and colleagues (such as Wilkie & Bodenhausen, 2012) have investigated the deep-seated semantic and linguistic associations tied to parity. Across many cultures and languages, the very words used to describe parity carry heavy emotional and aesthetic weight:

  • Linguistic Framing: In English, "even" is synonymous with calm, balanced, fair, smooth, and level-headed. Conversely, "odd" literally means strange, peculiar, mismatched, deviant, or left over.

  • Implicit Personality and Gender Attribution: In experiments where participants were asked to rate the abstract "personalities" of digits, even numbers were consistently rated as more agreeable, peaceful, and comforting, while odd numbers were rated as more aggressive, jagged, and active. When your goal is to create a comfortable, climate-controlled environment, your subconscious naturally aligns the desired physical state (calm, balanced comfort) with the numerical category that shares those exact semantic traits.

4. The MARC Effect (Spatial-Numerical Association)

Another neurological quirk discovered by Jean-Paul Nuerk and colleagues (2004) is the MARC effect (Markedness Association of Response Codes).

  • Linguistic Markedness: In linguistics, pairs of opposites usually have an "unmarked" (default, positive, primary) term and a "marked" (secondary, negated, or derivative) term—such as tall/short or happy/unhappy. In numerical cognition, even is the unmarked default state, while odd is the marked deviation.

  • Right-Side Advantage: For right-handed individuals (and most left-handed individuals due to reading direction), the brain spatially maps "even" to the right side of space—the dominant, preferred side for action—and "odd" to the left. Because we associate our dominant side with fluency and control, choosing an even number on a digital interface subtly reinforces a sense of mastery and order over our surroundings.

Why 24 Specifically Stands Out

Your specific preference for 24 over other numbers in that temperature range has an extra layer of mathematical reinforcement. Beyond simply being an even number in the ideal thermal comfort zone for tropical and subtropical climates, 24 is a highly composite number.

Whereas 22 is only divisible by 1, 2, 11, and 22, and 26 is only divisible by 1, 2, 13, and 26, the number 24 has eight factors (1, 2, 3, 4, 6, 8, 12, 24). In numerical cognition, numbers with high divisibility (like 12, 24, 36, and 60) possess the highest degree of mental fluency because we encounter them constantly in timekeeping (24 hours in a day), geometry, and measurement. Spotting 23 on your display jarred your attention because you moved from one of the most divisible, harmonious integers in daily life to a prime number with no factors other than 1 and itself. 

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.

Wednesday, 9 May 2018

Necklaces and Bracelets

At my recent diurnal age of 25136 (I'm 25138 days old as I write this), I noted that:
25236 is also a member of OEIS A141783: number of bracelets (turn over necklaces) with n beads: 1 blue, 12 green, and r = n-13 red (here n=20 and so r=7). This can be restated as "the number of bracelets with 1 blue, 12 green and 7 red beads is 25236". 
I had trouble understanding why the number of bracelets was 25236 and not 25194. According to my initial calculations, the number of necklaces (arrangements of beads that can't be lifted out of the plane and reversed) should be 19!/(12!*7!) = 50388. Here the numerator is 19! because 20!/20 adjusts for the rotational symmetry of the twenty beads and the denominator takes into account the fact that the beads in each of the groups, 12 green and 7 red, are indistinguishable from one another. Because bracelets can be lifted out of the plane and turned over, the number of bracelets should be 50338/2 = 25194.

As with most things, it's better to start at the beginning. The sequence runs: 1, 7, 49, 231, 924, 3108, 9324, 25236, ... and begins with n=13 at which point there is only one possible configuration as there are no red beads. When n=14, there is one red bead, one blue bead and twelve green beads. I would reckon the number of possible necklace configurations to be: 13!/12!=13 but in fact there is one more as can be seen in Diagram 1 and 2:

Diagram 1: blue bead on left, red bead on right

Diagram 2: red bead on left, blue bead on right.

As the two diagrams show, the first configuration with a blue bead on the left and a red bead on the right can be rotated to produce a new configuration where the red bead is on the left and the blue bed is on the right. This means that there are 13+1=14 possible necklaces and thus 14/2=7 possible bracelets.

When there are 20 beads, the situation is of course more complicated but the principle is the same. There will be the 50388 necklaces as calculated above but there are also the extra necklaces created by rotating the blue and red beads by 180° for the symmetric configurations like the one shown in Diagram 3. In every symmetric configuration, there will be nine beads (six green and three red) on either side of the red-blue bead axis. There are \( \binom{9}{3} = 84 \) ways this can be done and so the total number of necklaces is 50388+84=50472, corresponding to 50472/2=25236 bracelets.
Diagram 3: a symmetrical position with green and red
identically placed on either side of the red-blue axis


Monday, 13 February 2017

All Cubic Polynomials Are Point Symmetric

It was accident that I stumbled upon this PDF file discussing point symmetry in cubic polynomials. I had been looking for information about sketching cubic polynomials that could help a student I am currently tutoring in Mathematics. I've extracted the key observation in the screen shot below:


Here is an annotated graph that I produced in GeoGebra illustrating the point of symmetry for a specific cubic polynomial: \(\ f(x)=x^3-3x^2+2x-1\)



A translation of the graph (-1, 1) to (0, 0) makes the graph symmetry about the origin and an odd function. The new equation is calculated as follows: \(\ f(x)-1=(x+1)^3-3(x+1)^2+2(x+1)-1\) and \(\ f(x)=x(x+1)(x-1)\) or \(\ f(x)=x(x^2-1)\).