|
|
A070450
|
|
a(n) = n^2 mod 28.
|
|
6
|
|
|
0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1, 0, 1, 4, 9, 16
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
|
|
FORMULA
|
|
|
MATHEMATICA
|
PowerMod[Range[0, 100], 2, 28] (* or *) PadRight[{}, 100, {0, 1, 4, 9, 16, 25, 8, 21, 8, 25, 16, 9, 4, 1}] (* Harvey P. Dale, Jul 20 2021 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|