Learn R Programming

Zseq (version 0.2.0)

Juggler.Largest: Largest value for Juggler sequence

Description

Under OEIS A094716, the Largest value for Juggler sequence is the largest value in trajectory of a sequence that starts from n. First 6 terms are 0, 1, 2, 36, 4, 36 that n starting from 0 is conventional choice.

Usage

Juggler.Largest(n, gmp = TRUE)

Value

a vector of length n containing first entries from the sequence.

Arguments

n

the number of first n entries from the sequence.

gmp

a logical; TRUE to use large number representation, FALSE otherwise.

See Also

Juggler

Examples

Run this code
## generate first 10 numbers of largest values for Juggler sequences
print(Juggler.Largest(10))

Run the code above in your browser using DataLab