Learn R Programming

mappeR (version 2.1.0)

next_triangular: Find which triangular number you're on

Description

Find which triangular number you're on

Usage

next_triangular(x)

Value

The index of the next greatest or equal triangular number to \(x\).

Arguments

x

A positive integer.