login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A032096 "BHK" (reversible, identity, unlabeled) transform of 2,2,2,2... 1
2, 3, 8, 23, 74, 227, 704, 2135, 6482, 19523, 58808, 176663, 530714, 1592867, 4780784, 14344535, 43040162, 129127043, 387400808, 1162222103, 3486725354, 10460235107, 31380882464, 94142824535, 282429005042 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

C. G. Bower, Transforms (2)

FORMULA

a(n) = (1/6)*((-1)^n-5)*3^floor(n/2) + 3^(n-1) + 2. - Ralf Stephan, May 11 2004

Conjecture: a(n) = 4*a(n-1)-12*a(n-3)+9*a(n-4). G.f.: x*(2-5*x-4*x^2+15*x^3)/((1-x)*(1-3*x)*(1-3*x^2)). [Colin Barker, Sep 22 2012]

MATHEMATICA

Table[((1/6) ((-1)^n - 5) 3^(Floor[n/2]) + 3^(n - 1) + 2), {n, 1, 40}] (* Vincenzo Librandi, Oct 19 2013 *)

PROG

(MAGMA) [(1/6)*((-1)^n-5)*3^Floor(n/2) + 3^(n-1) + 2: n in [1..30]]; // Vincenzo Librandi, Oct 19 2013

CROSSREFS

Sequence in context: A263459 A261061 A086628 * A120763 A120708 A271269

Adjacent sequences:  A032093 A032094 A032095 * A032097 A032098 A032099

KEYWORD

nonn

AUTHOR

Christian G. Bower

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified February 25 12:46 EST 2018. Contains 299654 sequences. (Running on oeis4.)