|
|
A167624
|
|
a(n) = n^6 mod 32.
|
|
1
|
|
|
0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0, 25, 0, 1, 0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0, 25, 0, 1, 0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0, 25, 0, 1, 0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0, 25, 0, 1, 0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0, 25, 0, 1, 0, 1, 0, 25, 0, 9, 0, 17, 0, 17, 0, 9, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = a(n-2) - a(n-4) + a(n-6) - a(n-8) + a(n-10) - a(n-12) + a(n-14) for n > 13.
G.f.: (-x^13 - 24*x^11 + 15*x^9 - 32*x^7 + 15*x^5 - 24*x^3 - x)/((x - 1)*(x + 1)*(x^4 + 1)*(x^8 + 1)). (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [power_mod(n, 6, 32) for n in range(0, 100)] #
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|