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!)
A214675 a(n) = 9*n^2 - 13*n + 5. 6
1, 15, 47, 97, 165, 251, 355, 477, 617, 775, 951, 1145, 1357, 1587, 1835, 2101, 2385, 2687, 3007, 3345, 3701, 4075, 4467, 4877, 5305, 5751, 6215, 6697, 7197, 7715, 8251, 8805, 9377, 9967, 10575, 11201, 11845, 12507, 13187, 13885, 14601, 15335, 16087 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Central terms of triangle A214661.
LINKS
FORMULA
G.f.: x*(1+12*x+5*x^2)/(1-x)^3. - Bruno Berselli, Dec 10 2012
a(n) = n*A000567(n)-(n-1)*A000567(n-1). - Bruno Berselli, Dec 10 2012
E.g.f.: -5 + (5 - 4*x + 9*x^2)*exp(x). - G. C. Greubel, Mar 08 2024
MATHEMATICA
Table[9n^2-13n+5, {n, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {1, 15, 47}, 50] (* Harvey P. Dale, Nov 09 2019 *)
PROG
(Haskell)
a214675 n = (9 * n - 13) * n + 5
(PARI) a(n)=9*n^2-13*n+5 \\ Charles R Greathouse IV, Oct 07 2015
(Magma) [(3*n-2)^2-(n-1): n in [1..50]]; // G. C. Greubel, Mar 08 2024
(SageMath) [(3*n-2)^2-(n-1) for n in range(1, 51)] # G. C. Greubel, Mar 08 2024
CROSSREFS
Cf. A220083 for a list of numbers of the form n*P(s,n)-(n-1)*P(s,n-1), where P(s,n) is the n-th polygonal number with s sides.
Sequence in context: A031451 A105572 A143031 * A166118 A063396 A236401
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jul 25 2012
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 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)