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!)
A166060 a(n) = 4*3^n - 3*2^n. 9
1, 6, 24, 84, 276, 876, 2724, 8364, 25476, 77196, 233124, 702444, 2113476, 6352716, 19082724, 57297324, 171990276, 516167436, 1548895524, 4647473004, 13943991876, 41835121356, 125511655524, 376547549484, 1129667814276 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Second binomial transform of A123932 = [1,4,4,4,4,4,4,4,...].
LINKS
FORMULA
a(n) = 5*a(n-1) - 6*a(n-2) for n > 1; a(0)= 1, a(1)= 6.
G.f.: (1+x)/(1-5x+6x^2).
a(n) = A217764(n,6). - Ross La Haye, Mar 27 2013
a(n) = Sum_{k = 1..2^n} A082560(n+1,k). - Reinhard Zumkeller, May 14 2015
MATHEMATICA
CoefficientList[Series[(1+x)/((1-2x)*(1-3x)), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 05 2012 *)
PROG
(PARI) a(n)=4*3^n-3<<n \\ Charles R Greathouse IV, Jan 12 2012
(Magma) [4*3^n-3*2^n: n in [0..30]]; // Vincenzo Librandi, Dec 05 2012
(Haskell)
a166060 n = a166060_list !! n
a166060_list = map fst $ iterate (\(u, v) -> (3 * (u + v), 2 * v)) (1, 1)
-- Reinhard Zumkeller, Jun 09 2013
CROSSREFS
Sequence in context: A052150 A118043 A317408 * A124807 A271789 A121532
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Oct 05 2009
EXTENSIONS
a(19) and a(22) corrected by Charles R Greathouse IV, Jan 12 2012
STATUS
approved

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 24 18:05 EDT 2024. Contains 371962 sequences. (Running on oeis4.)