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!)
A154591 a(n) = 2*n^2 + 18*n + 7. 2
27, 51, 79, 111, 147, 187, 231, 279, 331, 387, 447, 511, 579, 651, 727, 807, 891, 979, 1071, 1167, 1267, 1371, 1479, 1591, 1707, 1827, 1951, 2079, 2211, 2347, 2487, 2631, 2779, 2931, 3087, 3247, 3411, 3579, 3751, 3927, 4107, 4291, 4479, 4671, 4867, 5067, 5271 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Ninth diagonal of A144562.
2*a(n) + 67 is a square.
LINKS
FORMULA
G.f.: x*(3-x)*(9-7*x)/(1-x)^3. - Bruno Berselli, Dec 07 2011
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Vincenzo Librandi, Feb 22 2012
Sum_{n>=1} 1/a(n) = 1621/20097 + tan(sqrt(67)*Pi/2)*Pi/(2*sqrt(67)). - Amiram Eldar, Feb 25 2023
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {27, 51, 79}, 50] (* Vincenzo Librandi, Feb 22 2012 *)
PROG
(Magma) I:=[27, 51, 79]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Feb 22 2012
(PARI) for(n=1, 40, print1(2*n^2 + 18*n + 7", ")); \\ Vincenzo Librandi, Feb 22 2012
CROSSREFS
Sequence in context: A034595 A330279 A102708 * A217235 A265683 A044079
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 12 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 17:56 EDT 2024. Contains 371781 sequences. (Running on oeis4.)