login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A229786 Primes modulo 23. 2
2, 3, 5, 7, 11, 13, 17, 19, 0, 6, 8, 14, 18, 20, 1, 7, 13, 15, 21, 2, 4, 10, 14, 20, 5, 9, 11, 15, 17, 21, 12, 16, 22, 1, 11, 13, 19, 2, 6, 12, 18, 20, 7, 9, 13, 15, 4, 16, 20, 22, 3, 9, 11, 21, 4, 10, 16, 18, 1, 5, 7, 17, 8, 12, 14, 18, 9, 15, 2, 4, 8, 14, 22, 5, 11, 15, 21, 6, 10, 18, 5, 7, 17, 19, 2, 6, 12, 20, 1, 3, 7, 19, 4, 8, 16, 20, 3, 15, 17, 12, 18, 5, 11, 17, 19, 2, 12, 18, 1, 3, 9, 15, 19, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The formula k(n,p)=p mod n classifies prime numbers p(A000040) with n(A000027) in classes k, here n=23. Other examples for n=2,3,4,... are in the cross reference. Another description of this sequence is a(n) = n-th prime modulo 23 or Prime(n) mod 23.
LINKS
FORMULA
k(n,p) = p mod n.
MATHEMATICA
Mod[Prime[Range[100]], 23] (* Vincenzo Librandi, May 07 2014 *)
PROG
(Magma) [p mod(23): p in PrimesUpTo(500)]; // Vincenzo Librandi, May 07 2014
CROSSREFS
Cf. similar sequences listed in A242119.
Sequence in context: A359373 A117094 A171057 * A242122 A074721 A242121
KEYWORD
nonn,easy
AUTHOR
Freimut Marschner, Sep 29 2013
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)