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!)
A274221 List of quadruples: 3*n*(3*n-1), 3*n*(3*n+1), (3*n+1)^2, (3*n+2)^2. 3
0, 0, 1, 4, 6, 12, 16, 25, 30, 42, 49, 64, 72, 90, 100, 121, 132, 156, 169, 196, 210, 240, 256, 289, 306, 342, 361, 400, 420, 462, 484, 529, 552, 600, 625, 676, 702, 756, 784, 841, 870, 930, 961, 1024, 1056, 1122, 1156, 1225, 1260, 1332, 1369, 1444, 1482 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
For the formulae of the permutations of A152743, A045945, A016778 and A016790, see the link.
LINKS
Luce ETIENNE, Permutations
FORMULA
G.f.: x^2*(1+3*x+x^2+3*x^3+x^4)/((1-x)^3*(1+x)^2*(1+x^2)). - Robert Israel, Sep 15 2016
a(n) = (18*n^2-18*n+1-3*(2*n-1)*(-1)^n-4*(-1)^((2*n-1+(-1)^n)/4))/32. Therefore: a(2k) = (18*k^2-12*k+1-(-1)^k)/8, a(2k+1) = (18*k^2+12*k+1-(-1)^k)/8.
a(n) = A064412(n) - A269064(n) for n>0.
E.g.f.: ((9*x^2 - 3*x - 1)*sinh(x) + (9*x^2 + 3*x + 2)*cosh(x) - 2*(sin(x) + cos(x)))/16. - Stefano Spezia, Nov 07 2022
MATHEMATICA
Flatten[Table[{3 n (3 n - 1), 3 n (3 n + 1), (3 n + 1)^2, (3 n + 2)^2}, {n, 0, 15}]] (* Bruno Berselli, Sep 15 2016 *)
PROG
(Magma) &cat [[3*n*(3*n-1), 3*n*(3*n+1), (3*n+1)^2, (3*n+2)^2]: n in [0..15]]; // Bruno Berselli, Sep 15 2016
CROSSREFS
Sequence in context: A310598 A024904 A172445 * A327479 A139056 A152519
KEYWORD
nonn,easy
AUTHOR
Luce ETIENNE, Sep 14 2016
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 15:42 EDT 2024. Contains 371960 sequences. (Running on oeis4.)