Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPentagonal ¶
IsPentagonal returns true if n is a pentagonal number
func IsTriangular ¶
IsTriangular returns true if n is a triangular number
func Pentagonal ¶ added in v0.6.0
Pentagonal returns the nth pentagonal number
func Triangular ¶ added in v0.6.0
Triangular returns the nth triangular number
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.