Learn R Programming

schoolmath (version 0.4.1)

prime.factor: giving 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

Author

Joerg Schlarmann

Examples

Run this code
prime.factor(21)
prime.factor(100)

Run the code above in your browser using DataLab