Skip to content

Which words can you spell using only element abbreviations from the periodic table?

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt
Notifications You must be signed in to change notification settings

jspencer/periodic-words

Repository files navigation

Periodic Words

Have you ever wondered which words you can spell using only element abbreviations from the periodic table?

Well thanks to this extremely important software I have written, you can set that wonder free.

My daughter came home with this handout

Chemistry is FUN

This proves that in fact Chemistry is FUN. So I replied with this. It's important to engage with your child's teacher.

Chemistry is FARTS

The Chemistry building was a major thoroughfare at my university and I was thinking of all the esters labs that ruined my appetite on the way to lunch.

Still curious, I wrote this command line utility.

Usage

Check a single word:

$ periodic-words -w oversaturation
oversaturation "[Oxygen][Vanadium][Erbium][Sulfur][Astatine][Uranium][Radium][Titanium][Oxygen][Nitrogen]"

Or you can provide a word list to check. You probably already have one on your system:

$ periodic-words -f /usr/share/dict/words

Here is another source of word lists in a few languages: https://github.com/lorenbrichter/Words

Now I'm sure you're wondering if any of the names of the elements can themselves be written out using the element abbreviations.

silver "[Silicon][Livermorium][Erbium]"
copper "[Cobalt][Phosphorus][Phosphorus][Erbium]"
oganesson "[Oxygen][Gallium][Neon][Sulfur][Sulfur][Oxygen][Nitrogen]"
carbon "[Calcium][Rubidium][Oxygen][Nitrogen]"
tin "[Titanium][Nitrogen]"

Silicon and Xenon do it starting with their own element.

silicon "[Silicon][Lithium][Cobalt][Nitrogen]"
xenon "[Xenon][Nobelium][Nitrogen]"

Phosphorous is the only one that refers to itself twice

phosphorus "[Phosphorus][Holmium][Sulfur][Phosphorus][Holmium][Ruthenium][Sulfur]"

You can check this yourself using the elements-as-a-word-list.txt file in this repo.

If you're writing a Chemistry textbook, I bet you could find a way to use this for each of your chapter titles

Chemistry is brew "[Boron][Rhenium][Tungsten]"
Chemistry is concoction "[Cobalt][Nitrogen][Cobalt][Carbon][Titanium][Oxygen][Nitrogen]"
Chemistry is dynamite "[Dysprosium][Nitrogen][Americium][Iodine][Tellurium]"
Chemistry is fractionation "[Francium][Actinium][Titanium][Oxygen][Sodium][Titanium][Oxygen][Nitrogen]"
Chemistry is gasses "[Gallium][Sulfur][Selenium][Sulfur]"
Chemistry is esterases "[Einsteinium][Tellurium][Radium][Selenium][Sulfur]"
Chemistry is pressure "[Praseodymium][Einsteinium][Sulfur][Uranium][Rhenium]"
Chemistry is salts "[Sulfur][Aluminium][Tennessine]"
Chemistry is the solution "[Sulfur][Oxygen][Lutetium][Titanium][Oxygen][Nitrogen]"
Chemistry is synthesis "[Sulfur][Yttrium][Nitrogen][Thorium][Einsteinium][Iodine][Sulfur]"
Chemistry is oversaturation "[Oxygen][Vanadium][Erbium][Sulfur][Astatine][Uranium][Radium][Titanium][Oxygen][Nitrogen]"
Chemistry is supersaturate "[Sulfur][Uranium][Phosphorus][Erbium][Sulfur][Astatine][Uranium][Radium][Tellurium]"
Chemistry is alkali "[Aluminium][Potassium][Aluminium][Iodine]"
Chemistry is catalytic "[Carbon][Astatine][Aluminium][Yttrium][Titanium][Carbon]"
Chemistry is cationic "[Calcium][Titanium][Oxygen][Nickel][Carbon]"
Chemistry is calculation "[Carbon][Aluminium][Copper][Lanthanum][Titanium][Oxygen][Nitrogen]"
Chemistry is calibration "[Calcium][Lithium][Bromine][Astatine][Iodine][Oxygen][Nitrogen]"
Chemistry is carcinogenic "[Carbon][Argon][Carbon][Indium][Oxygen][Germanium][Nickel][Carbon]"
Chemistry is catalysis "[Carbon][Astatine][Aluminium][Yttrium][Silicon][Sulfur]"

Installation

Setup rust and cargo (for example using [rustup]https://rustup.rs/)

Clone this repo: git clone https://github.com/jspencer/periodic-words.git && cd periodic-words

Build a release: cargo build --release

License

Licensed under either of

at your option.


Ain't chemistry a [Molybdenum][Thorium][Erbium][Fluorine][Uranium][Carbon][Potassium][Erbium]

About

Which words can you spell using only element abbreviations from the periodic table?

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages