|
|
A070401
|
|
a(n) = 6^n mod 47.
|
|
1
|
|
|
1, 6, 36, 28, 27, 21, 32, 4, 24, 3, 18, 14, 37, 34, 16, 2, 12, 25, 9, 7, 42, 17, 8, 1, 6, 36, 28, 27, 21, 32, 4, 24, 3, 18, 14, 37, 34, 16, 2, 12, 25, 9, 7, 42, 17, 8, 1, 6, 36, 28, 27, 21, 32, 4, 24, 3, 18, 14, 37, 34, 16, 2, 12, 25, 9, 7, 42, 17, 8, 1, 6, 36, 28, 27, 21, 32, 4, 24
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
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, 1).
|
|
FORMULA
|
|
|
MATHEMATICA
|
PowerMod[6, Range[0, 80], 47] (* or *) PadRight[{}, 80, {1, 6, 36, 28, 27, 21, 32, 4, 24, 3, 18, 14, 37, 34, 16, 2, 12, 25, 9, 7, 42, 17, 8}] (* Harvey P. Dale, Feb 21 2015 *)
|
|
PROG
|
(Sage) [power_mod(6, n, 47)for n in range(0, 78)] # Zerinvary Lajos, Nov 27 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|