OFFSET
0
COMMENTS
Period 12: repeat [1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0]. - Amiram Eldar, Jan 24 2023
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
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, 1, 0]; Array[a, 100, 0] (* Amiram Eldar, Jan 24 2023 *)
PROG
(PARI) A359379(n) = (((n%2)&&!(n%3))||!(n%4));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Dec 31 2022
STATUS
approved