OFFSET
1,1
LINKS
Peter Kagey, Table of n, a(n) for n = 1..10000
MATHEMATICA
Module[{nn=15, pn}, pn=PolygonalNumber[5, Range[nn]]; Select[Union[ Total/@ Tuples[ pn, 2]], #<=Last[pn]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 15 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Olivier Gérard, Mar 05 2020
STATUS
approved