login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070315 Third diagonal of triangle in A046739. 1
1, 21, 161, 813, 3361, 12421, 42865, 141549, 453905, 1426725, 4422913, 13579309, 41408833, 125667333, 380081105, 1146795693, 3454279345, 10392196645, 31238454241, 93845384301, 281808780641, 845996765061, 2539181475121, 7620027450733, 22865249731921 (list; graph; refs; listen; history; text; internal format)
OFFSET

4,2

LINKS

Table of n, a(n) for n=4..28.

D. P. Roselle, Permutations by number of rises and successions, Proc. Amer. Math. Soc., 19 (1968), 8-16.

D. P. Roselle, Permutations by number of rises and successions, Proc. Amer. Math. Soc., 19 (1968), 8-16. [Annotated scanned copy]

Index entries for linear recurrences with constant coefficients, signature (10,-40,82,-91,52,-12).

FORMULA

a(n) = 3^n - (3n+2)*2^(n-1) + 2n^2. - Ralf Stephan, May 09 2004

G.f.: -x^4*(12*x^5-40*x^4+39*x^3+9*x^2-11*x-1) / ((x-1)^3*(2*x-1)^2*(3*x-1)). [Colin Barker, Feb 03 2013]

PROG

(PARI) a(n) = 3^n - (3*n+2)*2^(n-1) + 2*n^2; \\ Michel Marcus, Oct 25 2017

CROSSREFS

Cf. A046739.

Sequence in context: A296832 A267473 A179097 * A242191 A146301 A338891

Adjacent sequences:  A070312 A070313 A070314 * A070316 A070317 A070318

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane, May 15 2002

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Oct 01 2002

More terms from Colin Barker, Feb 03 2013

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 4 12:55 EST 2021. Contains 349525 sequences. (Running on oeis4.)