OFFSET
4,1
LINKS
Eric Weisstein's World of Mathematics, Pyramidal Number
EXAMPLE
a(18) = 5 since 18 is a pentagonal pyramidal number, but not a square pyramidal or tetrahedral number.
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 09 2020
STATUS
approved