1,4

a(A048891(n)) = 0;

for primes p: a(p) = (p - 1) mod A049084(p).

Table of n, a(n) for n=1..80.

(MAGMA) [((NthPrime(n) -1) mod n): n in [1..100]]; // Vincenzo Librandi, Apr 06 2011

Sequence in context: A033718 A033737 A033747 * A282133 A338819 A153869

Adjacent sequences: A087608 A087609 A087610 * A087612 A087613 A087614

nonn

Reinhard Zumkeller, Sep 11 2003

approved