|
|
A158382
|
|
a(n) = 625*n^2 + 2*n.
|
|
2
|
|
|
627, 2504, 5631, 10008, 15635, 22512, 30639, 40016, 50643, 62520, 75647, 90024, 105651, 122528, 140655, 160032, 180659, 202536, 225663, 250040, 275667, 302544, 330671, 360048, 390675, 422552, 455679, 490056, 525683, 562560, 600687, 640064
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (625*n+1)^2 - (625*n^2+2*n)*(25)^2 = 1 can be written as A158383(n)^2 - a(n)*(25)^2 = 1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1) - 3*a(n-2) +a(n-3).
G.f.: x*(-627-623*x)/(x-1)^3. [corrected by Georg Fischer, May 11 2019]
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {627, 2504, 5631}, 50]
|
|
PROG
|
(Magma) I:=[627, 2504, 5631]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]];
(PARI) a(n) = 625*n^2 + 2*n.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|