|
|
A092259
|
|
Numbers that are congruent to {4, 8} mod 12.
|
|
7
|
|
|
4, 8, 16, 20, 28, 32, 40, 44, 52, 56, 64, 68, 76, 80, 88, 92, 100, 104, 112, 116, 124, 128, 136, 140, 148, 152, 160, 164, 172, 176, 184, 188, 196, 200, 208, 212, 220, 224, 232, 236, 244, 248, 256, 260, 268, 272, 280, 284, 292, 296, 304, 308, 316, 320, 328, 332
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 4*x*(1+x+x^2) / ( (1+x)*(x-1)^2 ).
a(n) = a(n-1) + a(n-2) - a(n-3) for n>3.
a(n) = 6n - 3 - (-1)^n.
a(n) = -a(1-n), a(n) = A092899(n) + 1 for n>0. (End)
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi*sqrt(3)/36. - Amiram Eldar, Dec 30 2021
|
|
MAPLE
|
|
|
MATHEMATICA
|
LinearRecurrence[{1, 1, -1}, {4, 8, 16}, 60] (* Harvey P. Dale, Oct 07 2021 *)
|
|
PROG
|
(Magma) [n : n in [0..400] | n mod 12 in [4, 8]]; // Wesley Ivan Hurt, May 21 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|