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!)
A072257 a(n) = ((6*n-17)*4^n - 1)/3. 6
-6, -15, -27, 21, 597, 4437, 25941, 136533, 677205, 3233109, 15029589, 68506965, 307582293, 1364546901, 5995058517, 26127717717, 113100805461, 486762960213, 2084490794325, 8887718991189 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Related to Collatz function (for n>2). All terms are divisible by 3.
LINKS
FORMULA
G.f.: -3*(2-13*x+12*x^2)/((1-x)*(1-4*x)^2). - Bruno Berselli, Dec 16 2011
E.g.f.: (-1/3)*( (17-24*x)*exp(4*x) + exp(x) ). - G. C. Greubel, Jan 14 2020
MAPLE
seq( ((6*n-17)*4^n -1)/3, n=0..40); # G. C. Greubel, Jan 14 2020
MATHEMATICA
LinearRecurrence[{9, -24, 16}, {-6, -15, -27}, 40] (* Harvey P. Dale, Nov 23 2015 *)
PROG
(PARI) a(n)=((6*n-17)*4^n-1)/3 \\ Charles R Greathouse IV, Oct 07 2015
(Magma) [((6*n-17)*4^n -1)/3: n in [0..40]]; // G. C. Greubel, Jan 14 2020
(Sage) [((6*n-17)*4^n -1)/3 for n in (0..40)] # G. C. Greubel, Jan 14 2020
(GAP) List([0..40], n-> ((6*n-17)*4^n -1)/3); # G. C. Greubel, Jan 14 2020
CROSSREFS
Sequence in context: A022601 A112150 A240948 * A227952 A316320 A140091
KEYWORD
sign,easy
AUTHOR
N. Rathankar (rathankar(AT)yahoo.com), Jul 08 2002
EXTENSIONS
Edited and extended by Henry Bottomley, Aug 06 2002
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 02:28 EDT 2024. Contains 371917 sequences. (Running on oeis4.)