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.

A163254 Array of the nonsquares; the columns satisfy c(n)=c(n-1)+c(n-2)-c(n-3)+1.

Original entry on oeis.org

2, 5, 3, 10, 7, 6, 17, 13, 11, 8, 26, 21, 18, 14, 12, 37, 31, 27, 22, 19, 15, 50, 43, 38, 32, 28, 23, 20, 65, 57, 51, 44, 39, 33, 29, 24, 82, 73, 66, 58, 52, 45, 40, 34, 30, 101, 91, 83, 74, 67, 59, 53, 46, 41, 35, 122, 111, 102, 92, 84, 75, 68, 60, 54
Offset: 1

Views

Author

Clark Kimberling, Jul 23 2009

Keywords

Comments

This is the array remaining after row 1 is expelled from the array in A163253.

Examples

			Corner:
2....5...10...17...26
3....7...13...21...31
6...11...18...27...38
		

Crossrefs

Formula

Let S(n,k) for the k-th term in the n-th row.
if n is odd, then S(n,k)=k^2+(n-1)k+(n^2+3)/4;
if n is even, then S(n,k)=k^2+(n-1)k+(n^2)/4.