chunky v0.11.0 Chunky.Sequence.OEIS View Source

Online Encyclopedia of Integer Sequences (OEIS) sequence iterators.

Supported sequences are broken down into modules based on OEIS Keyword, subject matter, or related methods.

Available Modules

Available Sequences

Link to this section Summary

Functions

Print out a coverage report for named sequence groups (like CORE) in the OEIS sequence support modules.

Calculate the OEIS Sequence coverage for a particular sequence group.

OEIS Sequence A000045 - Fibonacci numbers

The Online Encyclopedia of Integer Sequences list of Core Sequences.

Find the next 100 missing sequences from a coverage set

Link to this section Functions

Print out a coverage report for named sequence groups (like CORE) in the OEIS sequence support modules.

Calculate the OEIS Sequence coverage for a particular sequence group.

This is primarily for reference and testing, and is used to determine the completeness of sequence coverage in the Chunky.Sequence.OEIS modules.

Example

iex> (Sequence.create(Sequence.OEIS, :keyword_core) |> Sequence.OEIS.coverage()).percent < 1.0
true

iex> (Sequence.create(Sequence.OEIS, :keyword_core) |> Sequence.OEIS.coverage()).percent > 0.0
true
Link to this function

create_sequence_a000045(opts)

View Source

OEIS Sequence A000045 - Fibonacci numbers

From OEIS A000045

Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. (Formerly M0692 N0256)

Sequence IDs: :a000045, :fibonacci

Finite: false

Example

iex> Sequence.create(Sequence.OEIS, :a000045) |> Sequence.take!(10)
[0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
Link to this function

create_sequence_fibonacci(opts)

View Source
Link to this function

create_sequence_keyword_core(opts)

View Source

The Online Encyclopedia of Integer Sequences list of Core Sequences.

This list is primarily for reference lookup and Sequence introspection, in particular calculating the coverage of Core sequences in Chunky.Sequences.

Link to this function

create_sequence_keyword_core_easy(opts)

View Source
Link to this function

create_sequence_keyword_core_eigen(opts)

View Source
Link to this function

create_sequence_keyword_core_hard(opts)

View Source
Link to this function

create_sequence_keyword_core_mult(opts)

View Source
Link to this function

missing_sequences(sequence_list)

View Source
Link to this function

missing_sequences(mod, seq)

View Source

Find the next 100 missing sequences from a coverage set