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!)
A116552 a(2*n+1) = 3*a(n), a(2*n+2) = 4*a(n) + a(n-1). 6
1, 3, 4, 9, 13, 12, 19, 27, 40, 39, 61, 36, 61, 57, 88, 81, 127, 120, 187, 117, 196, 183, 283, 108, 205, 183, 280, 171, 289, 264, 409, 243, 412, 381, 589, 360, 607, 561, 868, 351, 655, 588, 901, 549, 928, 849, 1315, 324, 715, 615, 928, 549, 937, 840, 1303, 513 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From G. C. Greubel, Oct 30 2016: (Start)
a(2*n+1) = 3*a(n).
a(2*n+2) = 4*a(n) + a(n-1). (End)
MATHEMATICA
b[0] := 0; b[1] := 1;
b[n_?EvenQ] := b[n] = 3*b[n/2];
b[n_?OddQ] := b[n] = 4*b[(n - 1)/2] + b[(n - 3)/2];
Table[b[n], {n, 1, 70}]
CROSSREFS
Sequence in context: A029448 A249179 A103014 * A339996 A225288 A167930
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Mar 15 2006
EXTENSIONS
New name using formula, Joerg Arndt, Dec 17 2022
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 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)