login
Sums of 4 or more consecutive nonnegative integers.
3

%I #5 Mar 23 2016 11:50:47

%S 6,10,14,15,18,20,21,22,25,26,27,28,30,33,34,35,36,38,39,40,42,44,45,

%T 46,49,50,51,52,54,55,56,57,58,60,62,63,65,66,68,69,70,72,74,75,76,77,

%U 78,80,81,82,84,85,86,87,88,90,91,92,93,94,95,98,99,100,102,104,105,106

%N Sums of 4 or more consecutive nonnegative integers.

%H Ray Chandler, <a href="/A138592/b138592.txt">Table of n, a(n) for n = 1..10000</a>

%e 0+1+2+3=6, 1+2+3+4=10, 2+3+4+5=14, 1+2+3+4+5=15,...

%t Array[r,9];k=0;For[i=0,i<=33,a=i*3+3;For[j=i+3,j<=34,a=a+j;k++;r[k]=a;j++ ];i++ ];q=Union[Array[r,k]];StringTake[ToString[q],99]

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, May 13 2008

%E More terms from _Vladimir Joseph Stephan Orlovsky_, Mar 06 2010