|
|
A158386
|
|
a(n) = 676*n + 1.
|
|
2
|
|
|
677, 1353, 2029, 2705, 3381, 4057, 4733, 5409, 6085, 6761, 7437, 8113, 8789, 9465, 10141, 10817, 11493, 12169, 12845, 13521, 14197, 14873, 15549, 16225, 16901, 17577, 18253, 18929, 19605, 20281, 20957, 21633, 22309, 22985, 23661, 24337
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (676*n+1)^2-(676*n^2+2*n)*(26)^2=1 can be written as a(n)^2-A158385(n)*(26)^2=1.
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(677-x)/(1-x)^2.
a(n) = 2*a(n-1)-a(n-2).
|
|
MATHEMATICA
|
LinearRecurrence[{2, -1}, {677, 1353}, 50]
|
|
PROG
|
(Magma) I:=[677, 1353]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];
(PARI) a(n) = 676*n + 1.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|