The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A087611 a(n) = (prime(n) - 1) mod n. 2
 0, 0, 1, 2, 0, 0, 2, 2, 4, 8, 8, 0, 1, 0, 1, 4, 7, 6, 9, 10, 9, 12, 13, 16, 21, 22, 21, 22, 21, 22, 2, 2, 4, 2, 8, 6, 8, 10, 10, 12, 14, 12, 18, 16, 16, 14, 22, 30, 30, 28, 28, 30, 28, 34, 36, 38, 40, 38, 40, 40, 38, 44, 54, 54, 52, 52, 62, 64, 1, 68, 68, 70, 1, 2, 3, 2, 3, 6, 5, 8 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 COMMENTS a(A048891(n)) = 0; for primes p: a(p) = (p - 1) mod A049084(p). LINKS PROG (MAGMA) [((NthPrime(n) -1) mod n): n in [1..100]]; // Vincenzo Librandi, Apr 06 2011 CROSSREFS Sequence in context: A033718 A033737 A033747 * A282133 A338819 A153869 Adjacent sequences:  A087608 A087609 A087610 * A087612 A087613 A087614 KEYWORD nonn AUTHOR Reinhard Zumkeller, Sep 11 2003 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 23 13:50 EDT 2021. Contains 345402 sequences. (Running on oeis4.)