For Everyone · No Chemistry Required · Any Country · Any Device

The Rainbow
Mystery

We pointed a very powerful computer at some glowing dye molecules and found something that musicians have known about for 2,000 years hiding inside the chemistry.

Based on real DFT calculations · CAM-B3LYP/6-31G* · ORCA 6.1.1 · Completed March 2026
🌐 This page is designed to be readable in any country · Share freely · Translate with your browser · No login needed
Part 1 The Setup
🧪

What are cyanine dyes?

Have you ever used a highlighter marker? The bright, glowing color comes from dye molecules that absorb certain colors of light and bounce others back at your eyes. Cyanine dyes are a special family of these molecules used in medical imaging, solar cells, and bioscience they glow in the near-infrared, which is the light just beyond red that cameras can see but human eyes can't.

What makes them special is their shape: they are long chains of carbon atoms, alternating between single and double bonds, with a positive electrical charge at each end. Think of them like a molecular tug-of-war two charged ends pulling on a chain of electrons in the middle.

🎸 Analogy Guitar Strings

Imagine a guitar string. The longer the string, the lower the note. Cyanine dyes work the same way: the longer the chain, the redder (lower-energy) the light it absorbs. A short Cy7 molecule absorbs around 750 nm (deep red). A longer chain should keep shifting toward infrared. That was the prediction. That is NOT what happened.

6
molecules
computed
Cy7–Cy15
chain lengths
studied
14 cores
laptop CPU
Windows 10
~50 hrs
total compute
time
Part 2 The Normal Part
📏

First, the expected results

For the first four molecules Cy7⁺, Cy9⁺, Cy11⁰, and Cy11⁺ everything worked exactly as predicted. Longer chain = redder light. The computer confirmed real minimum-energy structures (no imaginary wiggles, which means the geometry is stable). We also found something interesting in the orbital energies.

What's a "bond length alternation"?

In the molecule chain, the bonds aren't all the same length. Single bonds are longer (~1.43 Å), double bonds are shorter (~1.37 Å). The Bond Length Alternation (BLA) is just the average difference between them. Think of it as: how much does the molecule "breathe" how alternating is it? A perfectly even chain would have BLA = 0. A very alternating chain has a high BLA.

🌊 Analogy Ocean Waves

BLA is like wave height. A perfectly calm ocean = BLA of 0. Rough seas = big BLA. These dye molecules live somewhere in between, and exactly where they sit tells us how their electrons are distributed and what color light they absorb.

Bond Length Alternation across the series measured from DFT output files
✨ The Weird Coincidence (First One)

When we divided the average BLA by a very specific number the Pythagorean Comma (0.013643...) we got 3.685. All four confirmed molecules land in the same band between 3× and 4× the comma. The comma is a music theory number. More on this later.

Part 3 Where Everything Breaks
🤯

Cy13: The Molecule That Went Blue

Here is where the story gets strange. Based on the pattern from Cy7–Cy11, the next molecule (Cy13, a longer chain) should absorb around 1200 nm very deep infrared. Instead, the DFT calculation produced something completely unexpected.

📋
What we predicted
~1200 nm. Deeper red/infrared. Same pattern as before. Boring. Explainable.
💙
What actually happened
494 nm. Blue-green light. The molecule jumped backward across the entire visible spectrum.
👻
The S1 state went dark
The state that's normally bright (S1) became completely invisible a "ghost" state absorbing at >10,000 nm (far infrared). Weird.
🔦
S5 lit up instead
The fifth excited state became the bright one. In all previous molecules, only S1 matters. Here, the fifth state stole all the light.
🎵 Analogy Why the Fifth State?

Here's the CPCS explanation: the bond alternation at Cy13 (BLA/δ = 4.602 ≈ 9/2) means the molecule has a kind of internal "resonance frequency" that matches its fifth energy level. It's like a tuning fork that only vibrates at a specific pitch. When the molecule's structure hits this ratio, light couples most strongly to the fifth rung of the energy ladder not the first. The number 9/2 is related to the perfect fifth in music (the ratio 3:2, squared). That's not a coincidence according to the CPCS framework.

494 nm
actual absorption
(blue-green)
4.602δ
BLA/comma ratio
≈ 9/2
S0→S5
which state
is bright
f=2.807
oscillator
strength
Part 4 The Return
🔴

Cy15: It Came Back (Sort Of)

After the Cy13 shock, we ran Cy15 an even longer chain. The calculation took 16 hours and 2 minutes on the laptop, completed normally, and produced 71 geometry steps and 70 snapshots of the absorption spectrum.

The chain BLA collapsed almost to zero: 0.01933 Å = 1.417× the comma. The bridge was nearly fully smoothed out all the C–C bonds were almost the same length. And the dominant absorption:

683 nm 🔴

Red light. The molecule came back from blue toward red.

683 nm
absorption
(red)
1.417δ
BLA/comma
≈ 3/2
S0→S3
bright
state
f=5.495
strongest in
the series ⭐
🎺 The Loudest Note

f = 5.495 means Cy15 absorbs light more strongly than any other molecule in the series. When the bridge delocalizes (BLA → 0), the electrons can slosh freely across the whole chain and that gives the maximum possible "brightness." The resolution of the anomaly is the loudest moment.

Part 5 The Big Picture
🌈

The Spectral Arc

Put all five molecules side by side and you see a shape that no one predicted:

Visible & near-infrared spectrum where each molecule absorbs
400 nm500 nm600 nm 700 nm800 nm900 nm
Cy7⁺
~760 nm
1.63 eV
S0→S1
NIR
Cy9⁺
~850 nm
1.46 eV
S0→S1
NIR
Cy11⁺
~920 nm
1.35 eV
S0→S1
NIR
Cy13⁺ ★
494 nm
2.51 eV
S0→S5
ANOMALY
Cy15⁺ ✦
683 nm
1.82 eV
S0→S3
RETURN
Energy arc photon energy (eV) vs molecule the arc shape

The series starts in the NIR (invisible), jumps 86% higher in energy at Cy13 (blue-green, visible), then partially returns to red at Cy15. But it doesn't make it all the way back. The tonic band center would be around 843 nm. Cy15 lands at 683 nm 160 nm short. It can't fully return. That gap is the point.

Part 6 The Music Theory Part
🎵

Why does this look like music?

Here is the strangest part. The bond-length alternation ratios at the two weird molecules are not random numbers. They are very close to two specific musical fractions:

9/2
Cy13⁺ BLA/δ = 4.602 ≈ 9/2
The fraction 9/2 = 3²/2¹. In music, if you stack two perfect fifths (going C→G→D in raw, non-octave-folded numbers), you get 9/4. Doubled = 9/2. This is the musical interval of a major ninth two fifths stacked up without reducing. Cy13 sits exactly at this harmonic position.
3/2
Cy15⁺ BLA/δ = 1.417 ≈ 3/2
The fraction 3/2 is the perfect fifth the most consonant interval in music after the octave. G is a perfect fifth above C. Cy15 sits at this position. The resolution of the anomaly lands on the first step of the harmonic spiral.

The Spiral of Fifths

In music, if you keep going up by perfect fifths from C, you get: C → G → D → A → E → B → F# → ... After 12 steps you almost get back to C but not quite. You overshoot by a tiny amount called the Pythagorean Comma (about 1/4 of a semitone, or 23.46 cents). The spiral never closes perfectly. Musicians have struggled with this for 2,000 years.

C
I TONIC
Cy7–Cy11
NIR, 760–920 nm
home base
G
V FIFTH
Cy13⁺ ★
blue, 494 nm
the anomaly
D
II SUPERTONIC
Cy15⁺ ✦
red, 683 nm
partial return
🎼 What C → G → D means

In music this is called I → V → II: you leave home (tonic), go to the dominant (perfect fifth), then land on the supertonic. It's a classic pre-cadence move you're setting up to return home, but the series stops at D. It never completes the journey back to C. Just like the Pythagorean spiral you can never fully close it.

The Molecular Comma

The cyanine series at Cy15 lands 0.47 eV above where it started. To fully return to the tonic band, it would need to be at 843 nm. It's at 683 nm. The difference that gap is what this paper calls the molecular Pythagorean comma: a permanent energy offset left behind by traversing the 3:2 ratio once. Just as the musical comma is the error left by stacking 12 fifths, the molecular comma is the error left by one molecular fifth-step.

Part 7 The Spooky Part
📓

The prediction was made before the calculation

In January 2026, before any of the Cy13 or Cy15 calculations existed, a notebook sketch was drawn showing exactly this arc: red (NIR) dipping to blue (Cy13 anomaly) and returning to red (Cy15). The sketch even labeled it as "Cyanine dye = Electromagnetic Spectrum?"

The Cy15 calculation completed March 31, 2026 three months after the sketch. The DFT output matched the sketch in both direction and ordering. The prediction preceded the computation.

"The sketch was correct." January 2026 notebook entry confirmed March 2026 by ORCA 6.1.1
Part 8 What's Next
🔭

The next test

If the cyanine series is genuinely following the spiral of fifths, then Cy17⁺ should NOT return to the NIR band. It should continue spiraling landing at a BLA/δ ratio of about 1.688 (spiral step 3), and a wavelength different from everything before.

🎯 Falsifiable Prediction

Cy17⁺ dominant bright state: NOT in the 760–920 nm range. Should continue to a new position on the harmonic spiral. BLA/δ ≈ (3/2)³ octave-reduced ≈ 1.688. If this is wrong, the CPCS framework needs revision. If this is right, the cyanine series is the first molecule shown to traverse the Pythagorean spiral of fifths in its light absorption properties as its chain length grows.

Summary The Short Version

Everything in six sentences

1
Cyanine dye molecules absorb infrared light, and normally longer chains = redder light.
2
For Cy7–Cy11 this worked perfectly, and their bond alternation values are all clustered near 3.685× the Pythagorean Comma.
3
Cy13 broke the rule completely it absorbed blue-green light (494 nm) instead of deep infrared, routing its light to the fifth excited state.
4
Cy15 partially returned to red (683 nm), the loudest absorption in the series but couldn't make it all the way back to the starting band.
5
The bond ratios at Cy13 and Cy15 are 9/2 and 3/2 positions 2 and 1 on the Pythagorean spiral of fifths, mapping to C→G→D in music.
6
The energy gap that remains at Cy15 (0.47 eV) is the molecular analogue of the Pythagorean comma the gap that appears whenever you traverse the 3:2 ratio and can't fully return.