OFFSET
1,1
REFERENCES
Y. V. Nesterenko, A few remarks on zeta(3), Mathematical Notes, 59 (No. 6, 1996), 625-636.
LINKS
Y. V. Nesterenko, Zeta(3) and recurrence relations.
Yu. V. Nesterenko, A few remarks on zeta(3), Math. Notes 59 (1996) 625-636. [From R. J. Mathar, Jul 31 2010]
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,1,-1,-1,1).
FORMULA
a(n) = A008733(n-1), n>2. - R. J. Mathar, Jul 31 2010
MAPLE
A060805 := proc(n) local nshf, k ; if n <= 2 then op(n, [2, 1]) ; else nshf := n-1 ; k := floor(nshf/4) ; if nshf mod 4 = 1 then k*(k+1) ; elif nshf mod 4 = 0 then (k+1)^2 ; elif nshf mod 4 = 2 then (k+1)*(k+2) ; else (k+1)^2 ; end if; end if; end proc: seq(A060805(n), n=1..80) ; # R. J. Mathar, Jul 31 2010
MATHEMATICA
Join[{2, 1}, LinearRecurrence[{1, 1, -1, 1, -1, -1, 1}, {2, 1, 4, 2, 6, 4, 9}, 100]] (* Jean-François Alcover, Apr 01 2020 *)
CROSSREFS
KEYWORD
nonn,cofr
AUTHOR
N. J. A. Sloane, Apr 29 2001
EXTENSIONS
More terms from R. J. Mathar, Jul 31 2010
STATUS
approved