Fun with Fractions and Number Sequences


[Up] [Top]

Documentation for package ‘FunWithNumbers’ version 1.1.1

Help Pages

FunWithNumbers-package Fun with Fractions and Number Sequences
aliquot Generate the Aliquot sequence.
benprob Generate random numbers based on the Benford distribution
bestFrac Generate a fraction close to the input value.
bpp Function which calculates pi, or other irrationals, using the BaileyBorweinPlouffe formula ~~
charE High-precision values for some common constants, in character strings.
charPhi High-precision values for some common constants, in character strings.
charPi High-precision values for some common constants, in character strings.
charRoot2 High-precision values for some common constants, in character strings.
collatz Test the Collatz Conjecture. ~~
FunWithNumbers Fun with Fractions and Number Sequences
juggatz Function which calculates the "Juggler" sequence ~~
morris Generate the Morris sequence
sptable Calculate the number of unique values in the cross-table of sums and products for the input set of numbers
vaneck Generate a sequence 'invented' by Jan Ritsema Van Eck