|
|
A168197
|
|
a(n) = 3*n - a(n-1) + 1 with n > 1, a(1)=0.
|
|
1
|
|
|
0, 7, 3, 10, 6, 13, 9, 16, 12, 19, 15, 22, 18, 25, 21, 28, 24, 31, 27, 34, 30, 37, 33, 40, 36, 43, 39, 46, 42, 49, 45, 52, 48, 55, 51, 58, 54, 61, 57, 64, 60, 67, 63, 70, 66, 73, 69, 76, 72, 79, 75, 82, 78, 85, 81, 88, 84, 91, 87, 94, 90, 97, 93, 100, 96, 103, 99, 106, 102
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Sum_{n>=2} (-1)^(n+1)/a(n) = 5/4 - Pi/(6*sqrt(3)) - log(3)/2. - Amiram Eldar, Feb 23 2023
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) I:=[0, 7, 3]; [n le 3 select I[n] else Self(n-1)+Self(n-2)-Self(n-3): n in [1..70]]; // Vincenzo Librandi, Feb 28 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|