Learn R Programming

AnomalyDetection (version 0.1.2)

get_all_factors: Find All Factors

Description

get_all_factors finds all factor pairs for a given integer (i.e. a number that divides evenly into another number).

Usage

get_all_factors(n)

Arguments

n

number to be factored

Value

A list containing the integer vector(s) containing all factors for the given n inputs.

Examples

Run this code
# NOT RUN {
# Find all the factors of 39304
get_all_factors(39304)

# }

Run the code above in your browser using DataLab