|
|
A130509
|
|
a(1)=3. a(2)=1. a(3)=2. a(n+3) = 3 + a(n), for all positive integers n.
|
|
1
|
|
|
3, 1, 2, 6, 4, 5, 9, 7, 8, 12, 10, 11, 15, 13, 14, 18, 16, 17, 21, 19, 20, 24, 22, 23, 27, 25, 26, 30, 28, 29, 33, 31, 32, 36, 34, 35, 39, 37, 38, 42, 40, 41, 45, 43, 44, 48, 46, 47, 51, 49, 50, 54, 52, 53, 57, 55, 56, 60, 58, 59, 63, 61, 62, 66, 64, 65, 69, 67
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This sequence is the inverse permutation of A130508.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n - cos(2*n*Pi/3) + sqrt(3)*sin(2*n*Pi/3). - Wesley Ivan Hurt, Sep 26 2017
Sum_{n>=1} (-1)^n/a(n) = log(2)/3. - Amiram Eldar, Jan 31 2023
|
|
MATHEMATICA
|
LinearRecurrence[{1, 0, 1, -1}, {3, 1, 2, 6}, 100] (* Amiram Eldar, Jan 31 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|