login
This site is supported by donations 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

Freimut Marschner, Table of n, a(n) for n = 1..1900

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: A100546 A117094 A171057 * A242122 A074721 A242121

Adjacent sequences:  A229783 A229784 A229785 * A229787 A229788 A229789

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 09:12 EDT 2018. Contains 313756 sequences. (Running on oeis4.)