|
|
A047525
|
|
Numbers that are congruent to {0, 2, 7} mod 8.
|
|
1
|
|
|
0, 2, 7, 8, 10, 15, 16, 18, 23, 24, 26, 31, 32, 34, 39, 40, 42, 47, 48, 50, 55, 56, 58, 63, 64, 66, 71, 72, 74, 79, 80, 82, 87, 88, 90, 95, 96, 98, 103, 104, 106, 111, 112, 114, 119, 120, 122, 127, 128, 130, 135, 136, 138, 143, 144, 146, 151, 152
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = a(n-1) + a(n-3) - a(n-4) for n>4.
G.f.: x^2*(x^2 + 5*x + 2)/(x^4 - x^3 - x + 1). (End)
a(n) = (24*n + 2*sqrt(3)*sin(2*Pi*n/3) + 12*cos(2*Pi*n/3) - 21)/9. - Ilya Gutkovskiy, May 29 2016
E.g.f.: 1 + (3*exp(x)*(8*x - 7) + 2*exp(-x/2)*(6*cos(sqrt(3)*x/2) + sqrt(3)*sin(sqrt(3)*x/2)))/9. - Stefano Spezia, Dec 31 2022
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|