prime.factor: This function calculates the prime-factors of a number

prime.factorR Documentation

This function calculates the prime-factors of a number

Description

This function calculates the prime-factors of a number

Usage

prime.factor(n)

Arguments

n

the number to be checked #'

Value

a vector with the prime factors

Examples

prime.factor(21)
prime.factor(100)


schoolmath documentation built on Aug. 21, 2023, 5:08 p.m.