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.

A100057 Sum of absolute differences of p(n) defined in A054065, oriented around a clock.

Original entry on oeis.org

2, 4, 8, 12, 18, 24, 30, 40, 50, 60, 70, 80, 96, 112, 128, 144, 160, 176, 192, 208, 234, 260, 286, 312, 338, 364, 390, 416, 442, 468, 494, 520, 546, 588, 630, 672, 714, 756, 798, 840, 882, 924, 966, 1008, 1050, 1092, 1134, 1176, 1218, 1260, 1302, 1344, 1386
Offset: 2

Views

Author

Gary W. Adamson, Oct 31 2004

Keywords

Examples

			a(4) = 8 since p(4) of A054065 = 2 4 1 3. Placing the terms in circular fashion and taking absolute differences: 2, 3, 2, 1; sum = 8.
		

Crossrefs

Cf. A100056.

Formula

Arrange p(n) of A054065 around a clock. a(n) = sum of absolute differences between terms. Alternatively, take the absolute difference between left and rightmost terms of p(n), A054065; and add to A100056(n).

Extensions

Edited and extended by Ray Chandler, Apr 18 2009