login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176900 a(n) = sin((2*n+5)*Pi/6)*(n+1)*2^(n+1). 1

%I #14 Feb 26 2022 04:24:18

%S 1,-4,-24,-32,80,384,448,-1024,-4608,-5120,11264,49152,53248,-114688,

%T -491520,-524288,1114112,4718592,4980736,-10485760,-44040192,

%U -46137344,96468992,402653184,419430400,-872415232,-3623878656,-3758096384

%N a(n) = sin((2*n+5)*Pi/6)*(n+1)*2^(n+1).

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4,-12,16,-16).

%F Sum_{k>=0} 1/a(k) = log(2), from log((1+x)/(1-x+x^2)) at x=1/2.

%F G.f.: (1-8*x+4*x^2)/(1-2*x+4*x^2)^2.

%F Sum_{n>=0} (-1)^n/a(n) = log(7/2). - _Amiram Eldar_, Feb 26 2022

%t Table[Sin[(2*n + 5)*Pi/6]*(n + 1)*2^(n + 1), {n, 0, 27}] (* _Amiram Eldar_, Feb 26 2022 *)

%o (PARI) a(n)=[1,-1,-2,-1,1,2][n%6+1]*(n+1)*2^n

%Y Cf. A002162.

%K sign

%O 0,2

%A _Jaume Oliver Lafont_, Apr 28 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)