Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

A Package to check valid CAS Numbers
Author

Jan Mangaldan
Old MathSource #

0212-162
Revision date

2002-07-18
Description

The package ValidCASNumberQ.m implements the function ValidCASNumberQ which checks if its input is a valid CAS number. Its argument can be a string (e.g. "7440-35-9") or an integer (e.g. 7440359). For integer arguments, remove the dashes in the CAS number.

Please refer to the web page http://www.cas.org/EO/checkdig.html for information on the method used to check validity.
Subject

*Science > Chemistry
Keywords

CAS number
Downloads Download Wolfram CDF Player

Download
ValidCASNumberQ.m (1.2 KB) - Mathematica Package