|
|
A129203
|
|
a(n) = numerator(3/(n+1)^3)*(3/2 + (-1)^n/2).
|
|
6
|
|
|
6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
(1/(2*Pi))*Integral_{t=0..2*Pi} exp(i*(n+1)*t)*((t-Pi)/i)^3 = (A129202(n)*Pi^2 - a(n))/A129196(n), i=sqrt(-1).
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (6 + 3*x + 2*x^2 + 3*x^3 + 6*x^4 + x^5)/(1 - x^6).
a(n) = cos(2*Pi*n/3) + sqrt(3)*sin(2*Pi*n/3) + cos(Pi*n/3)/3 - sqrt(3)*sin(Pi*n/3)/3 + 7*cos(Pi*n)/6 + 7/2.
a(n) = numerator(6/(n+1)^2). - Paul Barry, Apr 03 2007
a(n) = denominator of coefficient of x^6 in the Maclaurin expansion of -exp(-(n+1)*x^2). - Francesco Daddi, Aug 04 2011
a(n) = 3_(n+1)! = Gauss_factorial(3, n+1) = Product_{1<=j<=3, gcd(j,n+1)=1} j. - Peter Luschny, Oct 01 2012
a(n) = denominator((n+1)/6). - Jon Hearn, Nov 10 2013
a(n) = denominator of 2*(1/(12*n)+1)*n^n; related to gamma function approximation for positive integers less the factor sqrt(Pi/2)/(exp(n)*sqrt(n)). - Thomas Blankenhorn, Jun 21 2018
|
|
MAPLE
|
a:= n-> [6, 3, 2, 3, 6, 1][irem(n, 6)+1]:
|
|
MATHEMATICA
|
Array[Numerator[3/(# + 1)^3] (3/2 + (-1)^#/2) &, 105, 0] (* or *)
CoefficientList[ Series[-(x^5 + 6x^4 + 3x^3 + 2x^2 + 3x + 6)/(x^6 - 1), {x, 0,
105}], x] (* or *)
LinearRecurrence[{0, 0, 0, 0, 0, 1}, {6, 3, 2, 3, 6, 1}, 105] (* Robert G. Wilson v, Jul 28 2018 *)
|
|
PROG
|
(Sage)
def Gauss_factorial(N, n): return mul(j for j in (1..N) if gcd(j, n) == 1)
def A129203(n): return Gauss_factorial(3, n+1)
(Magma) [Numerator(3/(n+1)^3)*(3/2 + (-1)^n/2): n in [1..100]] / or / &cat [[6, 3, 2, 3, 6, 1]^^20]; // Vincenzo Librandi, Jul 01 2018
(GAP) List(List([0..10], n->3/(n+1)^3*(3/2+(-1)^n/2)), NumeratorRat); # Muniru A Asiru, Jul 01 2018
|
|
CROSSREFS
|
Cf. sequences listed in Comments section of A283393.
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|