OFFSET
1,2
COMMENTS
For any n > 0, the area of the triangle ((n, a(n)), (n+1, a(n+1)), (n+2, a(n+2))) equals abs(2*a(n+1) - a(n) - a(n+2)).
This sequence has similarities with A081145; here the absolute value of the second difference is unique, there the absolute value of the first difference.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..1000
Rémy Sigrist, PARI program for A326777
EXAMPLE
The first terms, alongside the area of the n-th triangle, are:
n a(n) Area
-- ---- ----
1 1 0
2 2 1
3 3 3
4 5 4
5 4 2
6 7 5
7 8 14
8 14 11
9 6 6
10 9 17
11 18 9
12 10 7
13 11 15
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 29 2019
STATUS
approved