A094550 Numbers n such that there are integers a < b with a+(a+1)+...+(n-1) = (n+1)+(n+2)+...+b.
4, 6, 9, 11, 14, 15, 16, 17, 19, 21, 22, 23, 24, 25, 26, 29, 30, 31, 32, 34, 35, 36, 38, 39, 40, 41, 43, 44, 46, 48, 49, 50, 51, 52, 53, 54, 56, 57, 59, 61, 64, 66, 68, 69, 70, 71, 72, 74, 76, 77, 79, 81, 82, 83, 84, 86, 87, 89, 91, 93, 94, 95, 96, 97, 98, 99, 100, 101, 104
Offset: 1
Examples
6 is in this sequence because 1+2+3+4+5 = 7+8.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
- R. J. Liljestrom and Richard Zucker, Numerical Fulcrums (PowerPoint Format)
Programs
-
Magma
[n: n in [1..100] |not IsPrime(4*n^2 + 1)]; // Vincenzo Librandi, Sep 27 2012
-
Mathematica
lst={}; Do[i1=n-1; i2=n+1; s1=i1; s2=i2; While[i1>1 && s1!=s2, If[s1
T. D. Noe, Nov 12 2010 *)
Comments