OFFSET
4,6
LINKS
Michael De Vlieger, Table of n, a(n) for n = 4..10000
EXAMPLE
For n=4, p(4) mod 4-Pi(4)-1 = 7 mod 1 = 0 = a(4).
MATHEMATICA
Table[Mod[Prime[w], w-PrimePi[w]-1], {w, 1, 128}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 30 2002
EXTENSIONS
Edited by Michael De Vlieger, Nov 05 2020
STATUS
approved