A110703 Numbers S with two neighboring run sums (sum of positive integer runs) S = a+(a+1)+..+b=(b+1)+(b+2)...+c, 0
3, 15, 27, 30, 42, 75, 90, 105, 135, 147, 165, 243, 252, 270, 273, 315, 363, 375, 378, 420, 462, 495, 507, 612, 660, 675, 693, 735, 750, 780, 810, 855, 858, 867, 945, 1050, 1083, 1155, 1170, 1215, 1287, 1323, 1365, 1470, 1485, 1518, 1587, 1785, 1815, 1875, 1950
Offset: 1
Keywords
Examples
3 = 1+2 = 3, so 3 is a term. 15 = 4+5+6 = 7+8 so 15 is a term. a(6) = 75 because 75 = 3+4+5+6+7+8+9+10+11+12 = 13+14+15+16+17.
Links
- Ron Knott Runsums
- T. Verhoeff, Rectangular and Trapezoidal Arrangements, J. Integer Sequences, Vol. 2, 1999, #99.1.6.
Programs
-
Mathematica
Select[Range[1000], False =!= Reduce[# == Sum[k, {k, x, y}] == Sum[k, {k, y + 1, z}] && z >= y >= x > 0, {x, y, z}, Integers] &] (* Giovanni Resta, May 22 2017 *)
Extensions
Initial 3 added by A. D. Skovgaard, May 22 2017
Comments