Learn R Programming

Zseq (version 0.1.1)

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, Rmpfr = TRUE, PrecisionBits = 496)

Arguments

n

the number of first n entries from the sequence.

Rmpfr

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

PrecisionBits

a positive integer for precision bits larger than 2.

Value

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

See Also

Juggler

Examples

Run this code
# NOT RUN {
## generate first 10 numbers of largest values for Juggler sequences
first10 = Juggler.Largest(10)

## print without trailing 0's.
print(first10, drop0trailing = TRUE)

# }

Run the code above in your browser using DataLab