|
|
A047451
|
|
Numbers that are congruent to {0, 6} mod 8.
|
|
13
|
|
|
0, 6, 8, 14, 16, 22, 24, 30, 32, 38, 40, 46, 48, 54, 56, 62, 64, 70, 72, 78, 80, 86, 88, 94, 96, 102, 104, 110, 112, 118, 120, 126, 128, 134, 136, 142, 144, 150, 152, 158, 160, 166, 168, 174, 176, 182, 184, 190, 192, 198, 200, 206, 208, 214, 216, 222, 224, 230
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
All even numbers m such that Integral_{x=0..2*Pi} Product_{i=1..m/2} cos(2*i*x) dx is nonzero. - William Boyles, Oct 12 2019
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*n - 3 + (-1)^n.
G.f.: 2*x^2*(3+x) / ( (1+x)*(x-1)^2 ). (End)
Sum_{n>=2} (-1)^n/a(n) = 3*log(2)/8 - Pi/16. - Amiram Eldar, Dec 18 2021
E.g.f.: (4*x + 1)*exp(x) - exp(-x) = 4*x*exp(x) + 2*sinh(x). - David Lovler, Aug 02 2022
|
|
MATHEMATICA
|
Array[8 # + {0, 6} &, 29, 0] // Flatten (* or *)
Rest@ CoefficientList[Series[2 x^2*(3 + x)/((1 + x) (x - 1)^2), {x, 0, 58}], x] (* Michael De Vlieger, Nov 18 2019 *)
LinearRecurrence[{1, 1, -1}, {0, 6, 8}, 80] (* Harvey P. Dale, Apr 09 2022 *)
|
|
PROG
|
(PARI) a(n) = 4*n - 3 + (-1)^n; \\ David Lovler, Jul 25 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|