|
|
A063518
|
|
Values of 17^n mod 23.
|
|
1
|
|
|
17, 13, 14, 8, 21, 12, 20, 18, 7, 4, 22, 6, 10, 9, 15, 2, 11, 3, 5, 16, 19, 1, 17, 13, 14, 8, 21, 12, 20, 18, 7, 4, 22, 6, 10, 9, 15, 2, 11, 3, 5, 16, 19, 1, 17, 13, 14, 8, 21, 12, 20, 18, 7, 4, 22, 6, 10, 9, 15, 2, 11, 3, 5, 16, 19, 1, 17, 13, 14, 8, 21, 12, 20, 18, 7, 4, 22, 6, 10
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
a(22*k) = 1 and a(22*k+1) = 17 for k = 1, 2, 3, ... in accordance with Fermat's Little Theorem.
|
|
LINKS
|
|
|
EXAMPLE
|
a(2) = 13 because 17^2 = 289 and 289 mod 23 = 13.
|
|
PROG
|
(PARI) { for (n=1, 2000, write("b063518.txt", n, " ", 17^n % 23) ) } \\ Harry J. Smith, Aug 24 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
David Clark (dcclark(AT)mtu.edu), Aug 01 2001
|
|
STATUS
|
approved
|
|
|
|