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.

A194131 Number of ways to arrange 3 indistinguishable points on an n X n X n triangular grid so that no three points are collinear at any angle.

Original entry on oeis.org

0, 0, 1, 17, 105, 407, 1216, 3036, 6696, 13428, 25005, 43861, 73277, 117471, 181880, 273268, 399960, 572076, 801825, 1103625, 1494541, 1994387, 2626152, 3416300, 4395148, 5596992, 7060737, 8830137, 10954197, 13487527, 16490972, 20031672
Offset: 0

Views

Author

R. H. Hardin, Aug 17 2011

Keywords

Comments

Column 3 of A194136.

Examples

			Some solutions for 3X3X3
....0......1......1......0......1......1......1......0......0......1......0
...1.1....1.0....0.1....1.0....0.0....0.0....1.1....1.1....0.1....0.1....0.1
..0.0.1..0.0.1..1.0.0..1.1.0..0.1.1..1.0.1..0.0.0..0.1.0..1.1.0..0.1.0..1.0.1
		

Crossrefs

Cf. A194136.

Formula

a(n) = ((n^2+n+2)/2) * binomial(n+2,4) - (3/2) * Sum_{k=2..n} (n-k+1) * (n-k+2) * Sum_{m=2..k} gcd(k-1,m-1). - David Bevan, Jan 01 2012