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.

A081346 First column in maze arrangement of natural numbers A081344.

Original entry on oeis.org

1, 2, 9, 10, 25, 26, 49, 50, 81, 82, 121, 122, 169, 170, 225, 226, 289, 290, 361, 362, 441, 442, 529, 530, 625, 626, 729, 730, 841, 842, 961, 962, 1089, 1090, 1225, 1226, 1369, 1370, 1521, 1522, 1681, 1682, 1849, 1850, 2025, 2026, 2209, 2210, 2401, 2402, 2601
Offset: 0

Views

Author

Paul Barry, Mar 19 2003

Keywords

Comments

Interleaves odd squares A016754 with central polygonal numbers A001844.

Crossrefs

Cf. A081345.

Programs

Formula

a(n) = n^2 + n + 1 + n*(-1)^n.
a(2*n) = A016754(n), a(2*n+1) = 2*A001844(n).
G.f.: (1 + x + 5*x^2 - x^3 + 2*x^4)/((1-x)^3*(1+x)^2). [Colin Barker, Sep 03 2012]