get_all_factors: Find All Factors

Description Usage Arguments Value Source Examples

View source: R/get_all_factors.R

Description

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

Usage

1

Arguments

n

number to be factored

Value

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

Source

http://stackoverflow.com/a/6425597/3851274

Examples

1
2
# Find all the factors of 39304
get_all_factors(39304)

anomalyDetection documentation built on March 18, 2018, 1:21 p.m.