login
A100057
Sum of absolute differences of p(n) defined in A054065, oriented around a clock.
1
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,1
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).
EXAMPLE
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.
Sequence in context: A305694 A176562 A337120 * A007590 A080476 A256885
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Oct 31 2004
EXTENSIONS
Edited and extended by Ray Chandler, Apr 18 2009
STATUS
approved