login
A109816
n^2 followed by n followed by n^3.
1
1, 1, 1, 4, 2, 8, 9, 3, 27, 16, 4, 64, 25, 5, 125, 36, 6, 216, 49, 7, 343, 64, 8, 512, 81, 9, 729, 100, 10, 1000, 121, 11, 1331, 144, 12, 1728, 169, 13, 2197, 196, 14, 2744, 225, 15, 3375, 256, 16, 4096, 289, 17, 4913, 324, 18, 5832, 361, 19, 6859, 400, 20, 8000
OFFSET
1,4
LINKS
FORMULA
From Chai Wah Wu, Jul 16 2016: (Start)
a(n) = 4*a(n-3) - 6*a(n-6) + 4*a(n-9) - a(n-12) for n > 12.
G.f.: x*(x^8 + x^7 - x^6 + 4*x^5 - 2*x^4 + x^2 + x + 1)/((x - 1)^4*(x^2 + x + 1)^4). (End)
a(n) = floor((n+2)/3)^(-(n mod 3)+3). - Luce ETIENNE, Mar 01 2018
MATHEMATICA
Table[{n^2, n, n^3}, {n, 20}] // Flatten (* Bruno Berselli, Sep 01 2016 *)
PROG
(Magma) &cat[[n^2, n, n^3]: n in [1..20]]; // Bruno Berselli, Sep 01 2016
CROSSREFS
Cf. A000463.
Cf. A010872.
Sequence in context: A265291 A195777 A125065 * A296477 A292964 A050128
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 30 2005
STATUS
approved