A136346 Octagonal numbers which are the sums of exactly two positive octagonal numbers.
560, 736, 1541, 3201, 5461, 6816, 7400, 9976, 11041, 11408, 13333, 14981, 15408, 15841, 19521, 21000, 21505, 25761, 28616, 30401, 41536, 45141, 50440, 51221, 52008, 54405, 56856, 61920, 63656, 65416, 69008, 75525, 76480, 81345, 82336, 85345, 87381, 89441
Offset: 1
Examples
Where Oc(n) = A000567(n) = n-th octagonal number: a(1) = 560 = Oc(14) = 280 + 280 = Oc(10) + Oc(10). a(2) = 736 = Oc(16) = 560 + 176 = Oc(14) + Oc(8). a(3) = 1541 = Oc(23) = 1408 + 133 = Oc(22) + Oc(7). a(4) = 3201 = Oc(33) = 2465 + 736 = Oc(29) + Oc(16). a(5) = 5461 = Oc(43) = 2821 + 2640 = Oc(31) + Oc(30).
Links
- B. D. Swan, Table of n, a(n) for n = 1..1800
- Eric Weisstein's World of Mathematics, Octagonal Number
Programs
-
Mathematica
Module[{nn=300,ono},ono=PolygonalNumber[8,Range[nn]];Union[Select[ Total/@ Tuples[ono,2],MemberQ[ono,#]&]]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 26 2019 *)
Formula
Extensions
Corrected and edited by B. D. Swan (bdswan(AT)gmail.com), Dec 20 2008
Comments