# Isomer Generator for Organic Molecules

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration uses a recursive algorithm in order to generate a list of possible structural isomers given a molecular formula composed of carbon, hydrogen, oxygen, and nitrogen atoms. Structural isomers are molecules that have the same molecular formula but different arrangements of atoms and different bond sequences. Three-dimensional models of isomers are presented in sets of four that you can rotate. The algorithm is by default limited to generate 1000 possible compounds and then proceeds to extract the unique solutions to display. You can increase the limit to generate a larger number of compounds so that more unique solutions can be found. The algorithm appears to be approximately 95% dependable. Some unstable molecules are predicted, particularly those with small rings, and some stable molecules with more exotic structures are missed (for example, cubane ).

Contributed by: William Zhang (July 2015) *Mathematica* Summer Camp 2015

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Each drop-down menu defines the number of each respective atom in the molecule. No changes are made until you click the "update" button.

## Permanent Citation

"Isomer Generator for Organic Molecules"

http://demonstrations.wolfram.com/IsomerGeneratorForOrganicMolecules/

Wolfram Demonstrations Project

Published: July 24 2015