login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094551 Numbers n such that there are integers a < b with a+(a+1)+...+(n-1) = n+(n+1)+...+b. 3
3, 7, 8, 9, 13, 15, 18, 19, 20, 21, 23, 26, 27, 28, 31, 33, 37, 38, 43, 44, 45, 46, 48, 49, 51, 53, 55, 56, 57, 58, 59, 60, 62, 63, 68, 69, 72, 73, 75, 77, 78, 79, 80, 83, 85, 87, 88, 91, 92, 93, 94, 97, 98, 99, 102, 103, 108, 110, 111, 113, 115, 117, 118, 121, 123, 124, 128 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
7 is in this sequence because 4+5+6 = 7+8.
MATHEMATICA
lst={}; Do[i1=n-1; i2=n; s1=i1; s2=i2; While[i1>1 && s1!=s2, If[s1<s2, i1--; s1=s1+i1, i2++; s2=s2+i2]]; If[s1==s2, AppendTo[lst, n]], {n, 2, 140}]; lst
CROSSREFS
Sequence in context: A112680 A096079 A298984 * A342006 A239937 A114441
KEYWORD
nonn
AUTHOR
T. D. Noe, May 10 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 3 01:51 EDT 2024. Contains 373963 sequences. (Running on oeis4.)