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!)
A027689 a(n) = n^2 + n + 4. 11
4, 6, 10, 16, 24, 34, 46, 60, 76, 94, 114, 136, 160, 186, 214, 244, 276, 310, 346, 384, 424, 466, 510, 556, 604, 654, 706, 760, 816, 874, 934, 996, 1060, 1126, 1194, 1264, 1336, 1410, 1486, 1564, 1644, 1726, 1810, 1896, 1984, 2074, 2166, 2260 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = A000217(n-2) + A000217(n+2) for n > 0. - Jon Perry, Jul 23 2003
a(n) = 2*n + a(n-1)-2 (with a(1)=4). - Vincenzo Librandi, Aug 05 2010
Sum_{n>=0} 1/a(n) = Pi*tanh(Pi*sqrt(15)/2)/sqrt(15). - Amiram Eldar, Jan 18 2021
MAPLE
with (combinat):seq(fibonacci(3, n)+n+3, n=0..47); # Zerinvary Lajos, Jun 07 2008
MATHEMATICA
Table[n^2+n+4, {n, 0, 100}] (* Vladimir Joseph Stephan Orlovsky, Feb 17 2011 *)
LinearRecurrence[{3, -3, 1}, {4, 6, 10}, 50] (* or *) CoefficientList[ Series[ (-4+6*x-4*x^2)/(-1+x)^3, {x, 0, 50}], x] (* Harvey P. Dale, Dec 18 2021 *)
PROG
(PARI) a(n)=n^2+n+4 \\ Charles R Greathouse IV, Oct 07 2015
(GAP) List([0..50], n->n^2+n+4); # Muniru A Asiru, Jul 15 2018
CROSSREFS
Sequence in context: A107305 A102768 A075637 * A023501 A050887 A078642
KEYWORD
nonn,easy
AUTHOR
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 27 11:10 EDT 2024. Contains 372019 sequences. (Running on oeis4.)