OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Square Number
Index entries for linear recurrences with constant coefficients, signature (0,10).
FORMULA
From Ralf Stephan, Jul 18 2013: (Start)
a(n) = 10*a(n-2); a(0)=0, a(1)=10, a(2)=320.
G.f.: (10*x + 320*x^2)/(1-10*x^2). (End)
MATHEMATICA
LinearRecurrence[{0, 10}, {0, 10, 320}, 30] (* Harvey P. Dale, Feb 10 2022 *)
PROG
(Magma) a:=[0, 10, 320]; [n le 3 select a[n] else 10*Self(n-2):n in [1..25]]; // Marius A. Burtea, Oct 11 2019
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Patrick De Geest, Mar 15 1999
EXTENSIONS
More terms from Lior Manor, Jul 02 2001
a(20) corrected by Georg Fischer, Dec 07 2019
STATUS
approved