Learn R Programming

pnf (version 0.1.1)

png: Prime Number Generation

Description

Generate a sequence of prime numbers.

Usage

png (n)

Arguments

n
A positive integer.

Examples

Run this code
#generate the first 100 primes
png (100)

Run the code above in your browser using DataLab