cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A138593 Sums of 5 or more consecutive nonnegative integers.

Original entry on oeis.org

10, 15, 20, 21, 25, 27, 28, 30, 33, 35, 36, 39, 40, 42, 44, 45, 49, 50, 51, 52, 54, 55, 56, 57, 60, 63, 65, 66, 68, 69, 70, 72, 75, 76, 77, 78, 80, 81, 84, 85, 87, 88, 90, 91, 92, 93, 95, 98, 99, 100, 102, 104, 105, 108, 110, 111, 112, 114, 115, 116, 117, 119, 120, 121
Offset: 1

Views

Author

Keywords

Comments

Also: the numbers of the form s*k+A000217(k-1), s>=0, k>=5. Changing the lower limit to k from 5 to 2, 4 or 6 also defines A138591, A138592 and A138594. [From R. J. Mathar, Jul 31 2008]

Examples

			0+1+2=3+4=10, 1+2+3+4+5=15, 2+3+4+5+6=20, 1+2+3+4+5+6=21,...
		

Programs

  • Mathematica
    Array[r,9];k=0;For[i=0,i<=55,a=i*4+6;For[j=i+4,j<=66,a=a+j;k++;r[k]=a;j++ ];i++ ];q=Union[Array[r,k]];StringTake[ToString[q],123]

Extensions

More terms from Vladimir Joseph Stephan Orlovsky, Mar 07 2010