OFFSET
0,2
LINKS
FORMULA
a(n) = 2*a(n-1) - a(n-2), a(0)=0, a(1)=682.
G.f.: 682*x / (x-1)^2 . - R. J. Mathar, Jan 18 2021
MATHEMATICA
aa = {0, 682}; a0 = 0; a1 = 682; Do[an = 2 a1 - a0; a0 = a1; a1 = an; AppendTo[aa, an], {n, 1, 100}]; aa (* Jasinski *)
a[0] := 0; a[1] := 682; a[n_] := a[n] = 2a[n - 1] - a[n - 2]; Table[a[n], {n, 0, 51}] (* Alonso del Arte, Nov 23 2011 *)
682Range[0, 51] (* AL *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Nov 23 2011
STATUS
approved