Skip to contents

These lines give expanded information or examples to illustrate the initial terms of the sequence.

Usage

OEIS_example(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 where no examples are available.

Examples

if (FALSE) { # \dontrun{
id <- "A105805"
internal_format <- OEIS_internal_format(id)
example <- OEIS_example(internal_format)
cat(example, sep = "\n")
} # }