[go: up one dir, main page]

login
A065996
a(n) = prime(prime(n) mod n).
1
2, 3, 5, 2, 2, 5, 5, 11, 23, 23, 2, 3, 2, 3, 11, 19, 17, 29, 31, 29, 41, 43, 59, 79, 83, 79, 83, 79, 83, 5, 5, 11, 5, 23, 17, 23, 31, 31, 41, 47, 41, 67, 59, 59, 47, 83, 127, 127, 109, 109, 127, 109, 149, 157, 167, 179, 167, 179, 179, 167, 197, 257, 257, 241, 241, 307, 313, 3
OFFSET
2,1
LINKS
MATHEMATICA
Table[Prime[Mod[Prime[n], n]], {n, 2, 70}] (* Harvey P. Dale, Jan 18 2020 *)
PROG
(PARI) { for (n=2, 1000, a=prime(prime(n)%n); write("b065996.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 06 2009
CROSSREFS
Cf. A000040 (primes).
Sequence in context: A365424 A060441 A255913 * A133906 A317358 A133907
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 10 2001
STATUS
approved