OFFSET
0,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..1001
Index entries for linear recurrences with constant coefficients, signature (0,1).
PROG
(Scheme) (define (A021796 n) (cond ((<= n 1) 0) ((= 2 n) 1) ((even? n) 6) (else 2))) ;; Antti Karttunen, Sep 14 2017
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved