multiples: Gives the sum of all natural numbers below 'x' that are...

Description Usage Arguments Value

View source: R/multiples_of_3_and_5.R

Description

Gives the sum of all natural numbers below x that are multiples of 3 or 5.

Usage

1

Arguments

x

A natural number.

Value

The sum of all natural numbers below x that are multiples of 3 or 5.


wiep/introToR17 documentation built on May 17, 2019, 11:18 p.m.