OEIS_mathematica: OEIS Wolfram Mathematica code from sequence 'internal_format'

View source: R/OEIS_mathematica.R

OEIS_mathematicaR Documentation

OEIS Wolfram Mathematica code from sequence internal_format

Description

These lines give 'Mathematica' code to produce the sequence.

Usage

OEIS_mathematica(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 character string with the OEIS sequence lines of examples or NULL if there are no examples.

See Also

* OEIS_description

* OEIS_author

* OEIS_internal_format

* OEIS_formula

* OEIS_sequence

* OEIS_xml

Examples


id <- "A105805"
internal_format <- OEIS_internal_format(id)
mathematica <- OEIS_mathematica(internal_format)
cat(mathematica, sep = "\n")


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