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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156711 a(n) = 144*n^2 - 161*n + 45. 2
28, 299, 858, 1705, 2840, 4263, 5974, 7973, 10260, 12835, 15698, 18849, 22288, 26015, 30030, 34333, 38924, 43803, 48970, 54425, 60168, 66199, 72518, 79125, 86020, 93203, 100674, 108433, 116480, 124815, 133438, 142349, 151548, 161035 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

576*a(n) + 1 = (288*n - 161)^2. - Vincenzo Librandi, Feb 09 2012

LINKS

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

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

FORMULA

a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).

G.f.: x*(-28 - 215*x - 45*x^2)/(x-1)^3.

MATHEMATICA

LinearRecurrence[{3, -3, 1}, {28, 299, 858}, 40]

PROG

(MAGMA) I:=[28, 299, 858]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]];

(PARI) a(n)=144*n^2-161*n+45 \\ Charles R Greathouse IV, Dec 23 2011

CROSSREFS

Sequence in context: A027781 A219626 A126662 * A107942 A219172 A334882

Adjacent sequences:  A156708 A156709 A156710 * A156712 A156713 A156714

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Feb 15 2009

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 September 23 20:42 EDT 2021. Contains 347617 sequences. (Running on oeis4.)