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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A209294 a(n) = (7*n^2 - 7*n + 4)/2. 2
2, 9, 23, 44, 72, 107, 149, 198, 254, 317, 387, 464, 548, 639, 737, 842, 954, 1073, 1199, 1332, 1472, 1619, 1773, 1934, 2102, 2277, 2459, 2648, 2844, 3047, 3257, 3474, 3698, 3929, 4167, 4412, 4664, 4923, 5189, 5462 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) is the sum of the n-th centered triangular number and n-th centered square number.

Difference of consecutive terms gives A008589 (multiples of 7).

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

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

FORMULA

a(n) = (7*n^2 - 7*n + 4) = 7*T(n) + 2 with T = A000217.

G.f.: x*(2+3*x+2*x^2)/(1-x)^3. - Bruno Berselli, Jan 18 2013

a(n) = a(-n+1) = 3*a(n-1)-3*a(n-2)+a(n-3).  - Bruno Berselli, Jan 18 2013

a(n) = 1 + A069099(n). - Omar E. Pol, Apr 27 2017

E.g.f.: ((7*x^2 + 4)*exp(x) - 4)/2. - G. C. Greubel, Jan 04 2018

MATHEMATICA

Table[(7*n^2 - 7*n + 4)/2, {n, 1, 50}] (* G. C. Greubel, Jan 04 2018 *)

PROG

(PARI) a(n)=7*n*(n-1)/2+2 \\ Charles R Greathouse IV, Jan 17 2013

(MAGMA) [(7*n^2 - 7*n + 4)/2: n in [1..30]]; // G. C. Greubel, Jan 04 2018

CROSSREFS

Cf. A000217, A005448, A001844, A008589.

Sequence in context: A032054 A027702 A051897 * A294870 A032636 A101986

Adjacent sequences:  A209291 A209292 A209293 * A209295 A209296 A209297

KEYWORD

nonn,easy

AUTHOR

Marco Piazzalunga, Jan 17 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 July 21 04:40 EDT 2019. Contains 325189 sequences. (Running on oeis4.)