A117105 Numbers that are the sum of three positive heptagonal numbers (A000566) in at least one way.
3, 9, 15, 20, 21, 26, 32, 36, 37, 42, 43, 48, 53, 54, 57, 59, 63, 69, 70, 74, 75, 80, 83, 86, 89, 90, 91, 95, 96, 100, 102, 106, 107, 111, 114, 116, 117, 120, 122, 123, 126, 128, 131, 133, 137, 143, 144, 147, 148, 149, 150, 153, 154, 156, 162, 163, 164, 165
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
With[{nn=10},Select[Union[Total/@Tuples[PolygonalNumber[7,Range[ nn]],3]], #<=PolygonalNumber[7,nn]-2&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 16 2020 *)
Formula
Extensions
Missing 106 and 131 added by Giovanni Resta, Jun 15 2016
Corrected (deleting duplicates) and extended by Harvey P. Dale, Aug 16 2020
Comments