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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100230 Main diagonal of triangle A100229. 5
1, 2, 10, 35, 118, 392, 1297, 4286, 14158, 46763, 154450, 510116, 1684801, 5564522, 18378370, 60699635, 200477278, 662131472, 2186871697, 7222746566, 23855111398, 78788080763, 260219353690, 859446141836, 2838557779201 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..24.

Index entries for linear recurrences with constant coefficients, signature (4, -2, -1).

FORMULA

a(n) = 3*a(n-1) + a(n-2) + 3 for n>1, with a(0)=1, a(1)=2.

G.f.: Sum_{n>=1} a(n)*x^n/n = log((1-x)/(1-3*x-x^2)).

a(0)=1, a(1)=2, a(2)=10, a(n)=4*a(n-1)-2*a(n-2)-a(n-3) [From Harvey P. Dale, May 06 2012]

MATHEMATICA

LinearRecurrence[{4, -2, -1}, {1, 2, 10}, 30] (* Harvey P. Dale, May 06 2012 *)

PROG

(PARI) a(n)=if(n==0, 1, n*polcoeff(log((1-x)/(1-3*x-x^2)+x*O(x^n)), n))

CROSSREFS

Cf. A100228, A100229.

Equals A006497(n) - 1.

Sequence in context: A236377 A197556 A295133 * A220255 A146983 A135963

Adjacent sequences:  A100227 A100228 A100229 * A100231 A100232 A100233

KEYWORD

nonn

AUTHOR

Paul D. Hanna, Nov 29 2004

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 October 16 12:35 EDT 2018. Contains 316263 sequences. (Running on oeis4.)