OEIS_formerly: Get OEIS sequence former 'ID'

View source: R/OEIS_formerly.R

OEIS_formerlyR Documentation

Get OEIS sequence former ID

Description

This is an alternate ID for some sequences that also have a 4-digit M-number, such as M1459, which is the number they carried in "The Encyclopedia of Integer Sequences" by N.J.A. Sloane and S. Plouffe, Academic Press, San Diego, CA, 1995. 'Some older sequences also have a 4-digit N-number, such as N0577, which is the number they carried in the "Handbook of Integer Sequences", by N. J. A. Sloane, Academic Press, NY, 1973

Usage

OEIS_formerly(x)

Arguments

x

Can be one of the following:

  • A character string with sequence ID.

  • A OEIS_internal S3 class object, with sequence internal format.

  • A S3 classes object OEIS_xml and xml_document, with sequence content from OEIS web.

  • An object of OEIS_sequence class, that contains all sequence related data.

Value

A string with the OEIS former ID or NULL, if there is no former sequence designation.

See Also

* OEIS_description

* OEIS_internal_format

* OEIS_sequence

* OEIS_xml

Examples

id <- "A000056"
internal_format <- OEIS_internal_format(id)
OEIS_formerly(internal_format)


EnriquePH/OEIS.R documentation built on March 15, 2023, 8:01 a.m.