|
|
A011751
|
|
Expansion of (1 + x^4)/(1 + x + x^3 + x^4 + x^5) mod 2.
|
|
23
|
|
|
1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1), i.e., 31-periodic.
|
|
FORMULA
|
|
|
MAPLE
|
series((1+x^4)/(1+x+x^3+x^4+x^5), x, 100) mod 2;
[seq(coeff(series((1+x^4)/(1+x+x^3+x^4+x^5), x, 100) mod 2, x, n), n=0..80)]; # Muniru A Asiru, Feb 18 2018
|
|
MATHEMATICA
|
Mod[ CoefficientList[ Series[(1 + x^4)/(1 + x + x^3 + x^4 + x^5), {x, 0, 105}], x], 2] (* Robert G. Wilson v, Feb 19 2018 *)
|
|
PROG
|
(PARI) a(n)=bittest(1826728215, n%31) \\ M. F. Hasler, Feb 17 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|