|
|
A053793
|
|
n^2+n modulo 7.
|
|
3
|
|
|
0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0, 0, 2, 6, 5, 6, 2, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Pronic residues (mod m) are analogous to quadratic residues.
Periodic with period 7.
|
|
LINKS
|
|
|
MATHEMATICA
|
LinearRecurrence[{0, 0, 0, 0, 0, 0, 1}, {0, 2, 6, 5, 6, 2, 0}, 105] (* Ray Chandler, Aug 26 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Stuart M. Ellerstein (ellerstein(AT)aol.com), Mar 27 2000
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|