|
|
A005892
|
|
Truncated square numbers: 7*n^2 + 4*n + 1.
(Formerly M4833)
|
|
3
|
|
|
1, 12, 37, 76, 129, 196, 277, 372, 481, 604, 741, 892, 1057, 1236, 1429, 1636, 1857, 2092, 2341, 2604, 2881, 3172, 3477, 3796, 4129, 4476, 4837, 5212, 5601, 6004, 6421, 6852, 7297, 7756, 8229, 8716, 9217, 9732, 10261, 10804, 11361, 11932
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: (1 + 9*x + 4*x^2)/(1 - x)^3.
E.g.f.: (1 + 11*x + 7*x^2)*exp(x). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [7*n^2 + 4*n + 1: n in [0..50]]; // G. C. Greubel, Nov 30 2017
(Sage) [7*n^2+4*n+1 for n in (0..50)] # G. C. Greubel, Apr 19 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|