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!)
A004538 a(n) = 3*n^2 + 3*n - 1. 3
-1, 5, 17, 35, 59, 89, 125, 167, 215, 269, 329, 395, 467, 545, 629, 719, 815, 917, 1025, 1139, 1259, 1385, 1517, 1655, 1799, 1949, 2105, 2267, 2435, 2609, 2789, 2975, 3167, 3365, 3569, 3779, 3995, 4217, 4445 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Numbers k such that (4*k + 7)/3 is a square. - Bruno Berselli, Sep 11 2018
LINKS
FORMULA
From Alexander Adamchuk, Apr 12 2006: (Start)
a(n) = 5 * Sum_{k=1..n} k^4 / Sum_{k=1..n} k^2, n > 0.
a(n) = 5 * A000538(n) / A000330(n), n > 0. (End)
a(n) = a(n-1) + 6*n with a(0)=-1. - Vincenzo Librandi, Nov 18 2010
From G. C. Greubel, Sep 10 2018: (Start)
G.f.: (-1 + 8*x - x^2)/(1 - x)^3.
E.g.f.: (-1 + 6*x + 3*x^2)*exp(x). (End)
Sum_{n>=0} 1/a(n) = ( psi(1/2+sqrt(21)/6) - psi(1/2-sqrt(21)/6)) /sqrt(21) = -0.6286929... R. J. Mathar, Apr 24 2024
MATHEMATICA
Table[5*Sum[k^4, {k, 1, n}]/Sum[k^2, {k, 1, n}], {n, 1, 20}] (* Alexander Adamchuk, Apr 12 2006 *)
Table[3n^2+3n-1, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {-1, 5, 17}, 40] (* Harvey P. Dale, Jan 18 2019 *)
PROG
(PARI) a(n)=3*n^2+3*n-1 \\ Charles R Greathouse IV, Jun 17 2017
(Magma) [3*n^2 + 3*n -1: n in [0..50]]; // G. C. Greubel, Sep 10 2018
CROSSREFS
First differences of A033445.
Sequence in context: A273499 A297520 A026394 * A146231 A186029 A083048
KEYWORD
sign,easy,changed
AUTHOR
N. J. A. Sloane, Eric T. Lane (ERICLANE(AT)UTCVM.UTC.EDU)
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)