Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

ChemistryFunctions

Guides

  • Wolfram Chemistry Functions

Symbols

  • AlkaneName
  • AlkaneQ
  • AtomChirality
  • AtomSelector3D
  • AtomSelector
  • BohrModelPlot
  • BondStereo
  • ChemicalFormulaQ
  • ChemicalReactionQ
  • ConstitutionalIsomersQ
  • DiastereomersQ
  • EmbeddedMoleculeQ
  • EmpiricalFormula
  • EmptyMoleculeQ
  • EnantiomersQ
  • EpimersQ
  • FormatMoleculesAsGraphics
  • HydrocarbonQ
  • ImportComputationalChemistryData
  • IonCounts
  • MoleculeDelete
  • MoleculeGridPlot3D
  • MoleculeGridPlot
  • MoleculeJoin
  • MoleculeManipulate3D
  • MoleculeManipulate
  • MoleculeMirrorPlot3D
  • MoleculePatternQ
  • MoleculePlotOptions
  • MoleculeScaffold
  • MoleculeSubstructureMatches
  • PatternReactionQ
  • PeriodicTablePlot
  • RandomAlkane
  • RandomMolecule
  • RingMoleculeQ
  • RingPattern
  • SmilesPlot
  • StereoisomersQ
WolframChemistry`ChemistryFunctions`
RandomAlkane
​
RandomAlkane
[n]
returns a random alkane with
n
carbon atoms.
​
​
RandomAlkane
[n,m]
returns
m
random alkanes.
​
Details and Options

Examples  
(4)
Basic Examples  
(2)
Generate a random alkane with 15 carbon atoms:
In[1]:=
RandomAlkane
[15]
Out[1]=
Molecule
Formula:
C
15
H
32
Atoms:
47
Bonds:
46

Find the molecule's name:
In[2]:=
AlkaneName
[%]
Out[2]=
6-ethyl-2,5,3,4,4-pentamethyloctane
​
Generate a random alkane with 75 carbon atoms:
In[1]:=
RandomAlkane
[75]
Out[1]=
Molecule
Formula:
C
75
H
152
Atoms:
227
Bonds:
226

Find the molecule's name:
In[2]:=
AlkaneName
[%]
Out[2]=
28-(1,1-dimethylpropyl)-26,3,4-triethyl-19-(7-(1-ethylpropyl)-3-(1-methylpropyl)-2-(1,4,4-trimethylpentyl)-undecyl)-27,15,19-trimethyltritriacontane
Options  
(2)

SeeAlso
AlkaneQ
 
▪
AlkaneName
 
▪
RandomMolecule
 
▪
Molecule
RelatedGuides
▪
Wolfram Chemistry Functions
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com