login
A069547
a(n) = n^2 mod n-th prime.
7
1, 1, 4, 2, 3, 10, 15, 7, 12, 13, 28, 33, 5, 24, 37, 44, 53, 19, 26, 45, 3, 10, 31, 42, 43, 70, 8, 35, 78, 109, 72, 107, 130, 44, 33, 88, 113, 140, 18, 43, 70, 135, 130, 6, 55, 126, 99, 74, 131, 210, 38, 75, 158, 155, 198, 243, 21, 112, 157, 228, 42, 35, 285, 53, 156, 235
OFFSET
1,3
COMMENTS
What is the origin of pattern at n~(6-7)*10^3 (see link to figure)? - Zak Seidov, Nov 22 2011
MATHEMATICA
Table[ PowerMod[n, 2, Prime[n]], {n, 1, 70}]
PROG
(PARI) vector(100, n, n^2 % prime(n)) \\ Michel Marcus, Jun 01 2015
CROSSREFS
Sequence in context: A026196 A026216 A292411 * A282772 A227041 A341055
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 17 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Apr 22 2002
STATUS
approved