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.

A278545 Number of neighbors of the n-th term in a full square array read by antidiagonals.

Original entry on oeis.org

3, 5, 5, 5, 8, 5, 5, 8, 8, 5, 5, 8, 8, 8, 5, 5, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5
Offset: 1

Views

Author

Omar E. Pol, Nov 23 2016

Keywords

Comments

Apart from the first row and the first column, the rest of the elements are 8's.
For the same idea but for a right triangle see A278480; for an isosceles triangle see A278481; for a square spiral see A010731; and for a hexagonal spiral see A010722.

Examples

			The corner of the square array begins:
3,5,5,5,5,5,5,5,5,5,...
5,8,8,8,8,8,8,8,8,...
5,8,8,8,8,8,8,8,...
5,8,8,8,8,8,8,...
5,8,8,8,8,8,...
5,8,8,8,8,...
5,8,8,8,...
5,8,8,...
5,8,...
5,...
...
		

Crossrefs

Antidiagonal sums give 3 together with the elements > 2 of A017089.

Programs

  • Maple
    3, seq(op([5,8$i,5]),i=0..20); # Robert Israel, Dec 04 2016

Formula

G.f. 3+x+8*x/(1-x)-3*(1+x)*Theta_2(0,sqrt(x))/(2*x^(1/8)) where Theta_2 is a Jacobi Theta function. - Robert Israel, Dec 04 2016