lucky_number_sieve: Lucky Number Sieve

Description Usage Arguments Value References Examples

View source: R/lucky_number_sieve.R

Description

Get all lucky numbers <= n.

Usage

1

Arguments

n

The upper limit of the region that is searched for lucky numbers.

Value

A vector of the lucky numbers between 1 and n.

References

This sequence in the On-Line Encyclopedia of Integer Sequences: A000959.

The Numberphile video featuring Ria Symonds and Brady Haran: What is a lucky number?.

Examples

1

BastiHz/numberphile documentation built on Oct. 12, 2020, 6:03 p.m.