OFFSET
1,3
COMMENTS
(1) a(2n) = n^2, a(2n-1) = n(n+1) = twice the n-th triangular number. (2) Geometric mean of the successive squares interleaved between them.
Essentially the same as A002620.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
FORMULA
Empirical: a(n+1) + a(n) = binomial(n+1,2), a(1) = a(2) = 1. - G. C. Greubel, Oct 29 2017
MATHEMATICA
Join[{1}, LinearRecurrence[{2, 0, -2, 1}, {1, 2, 4, 6}, 50]] (* G. C. Greubel, Oct 29 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Oct 17 2002
EXTENSIONS
More terms from Philippe Deléham, Jun 20 2005
STATUS
approved