OFFSET
1
COMMENTS
Period 12: repeat [1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0]. - Amiram Eldar, Jan 24 2023
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..100000
Index entries for linear recurrences with constant coefficients, signature (0,-1,0,0,0,1,0,1).
MATHEMATICA
a[n_] := If[Mod[n, 6] == 3 || Mod[n, 4] == 0, 0, 1]; Array[a, 100] (* Amiram Eldar, Jan 24 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 31 2022
STATUS
approved