|
|
A070490
|
|
a(n) = n^3 mod 28.
|
|
2
|
|
|
0, 1, 8, 27, 8, 13, 20, 7, 8, 1, 20, 15, 20, 13, 0, 15, 8, 13, 8, 27, 20, 21, 8, 15, 20, 1, 20, 27, 0, 1, 8, 27, 8, 13, 20, 7, 8, 1, 20, 15, 20, 13, 0, 15, 8, 13, 8, 27, 20, 21, 8, 15, 20, 1, 20, 27, 0, 1, 8, 27, 8, 13, 20, 7, 8, 1, 20, 15, 20, 13, 0, 15, 8, 13, 8, 27, 20, 21, 8, 15, 20
(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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [power_mod(n, 3, 28 ) for n in range(0, 81)] # Zerinvary Lajos, Oct 30 2009
(PARI) vector(100, n, (n-1)^3 % 28); \\ Altug Alkan, Oct 03 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|