login
A047672
Row 3 of square array defined in A047671.
1
1, 10, 37, 94, 193, 346, 565, 862, 1249, 1738, 2341, 3070, 3937, 4954, 6133, 7486, 9025, 10762, 12709, 14878, 17281, 19930, 22837, 26014, 29473, 33226, 37285, 41662, 46369, 51418, 56821, 62590, 68737, 75274, 82213, 89566, 97345
OFFSET
1,2
FORMULA
a(n) = 2n^3 - 3n^2 + 4n - 2.
MATHEMATICA
lst={}; Do[s0=n^3; s1=(n+1)^3; AppendTo[lst, (s1+s0)+n], {n, 0, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 19 2009 *)
PROG
(PARI) vector(50, n, 2*n^3 - 3*n^2 + 4*n - 2) \\ Michel Marcus, Jan 07 2015
CROSSREFS
Sequence in context: A247792 A372373 A096000 * A200872 A212755 A048480
KEYWORD
nonn
STATUS
approved