[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A333914
a(n) is the least integer m >= 3 such that n is m-gonal pyramidal number.
1
3, 4, 5, 6, 7, 8, 3, 10, 11, 12, 4, 14, 15, 16, 5, 18, 3, 20, 6, 22, 23, 24, 7, 26, 27, 28, 4, 30, 31, 32, 9, 3, 35, 36, 10, 38, 5, 40, 11, 42, 43, 44, 12, 46, 47, 48, 6, 50, 51, 52, 14, 4, 3, 56, 15, 58, 7, 60, 16, 62, 63, 64, 17, 66, 67, 68, 8, 70, 71, 72, 19, 5, 75, 76, 20, 78, 9
OFFSET
4,1
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