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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244738 (Prime(n) mod 5) mod 3. 4
2, 0, 0, 2, 1, 0, 2, 1, 0, 1, 1, 2, 1, 0, 2, 0, 1, 1, 2, 1, 0, 1, 0, 1, 2, 1, 0, 2, 1, 0, 2, 1, 2, 1, 1, 1, 2, 0, 2, 0, 1, 1, 1, 0, 2, 1, 1, 0, 2, 1, 0, 1, 1, 1, 2, 0, 1, 1, 2, 1, 0, 0, 2, 1, 0, 2, 1, 2, 2, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 1, 1, 1, 1, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..4000

EXAMPLE

n ... prime(n) mod 5 mod 3

1 ..... 2 ..... 2 ... 2

2 ..... 3 ..... 3 ... 0

3 ..... 5 ..... 0 ... 0

4 ..... 7 ..... 2 ... 2

5 ..... 11 .... 1 ... 1

6 ..... 13 .... 3 ... 0

MATHEMATICA

z = 300; u = Mod[Table[Mod[Prime[n], 5], {n, 1, z}], 3] (* A244738 *)

v1 = Flatten[Position[u, 0]]  (* A244739 *)

v2 = Flatten[Position[u, 1]]  (* A024707 *)

v3 = Flatten[Position[u, 2]]  (* A244741 *)

Mod[Mod[Prime[Range[90]], 5], 3] (* Harvey P. Dale, Aug 14 2019 *)

CROSSREFS

Cf. A244739, A024707, A244741, A244735, A039793.

Sequence in context: A219487 A303907 A290870 * A215462 A025843 A303906

Adjacent sequences:  A244735 A244736 A244737 * A244739 A244740 A244741

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Jul 05 2014

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 2 08:50 EDT 2020. Contains 335398 sequences. (Running on oeis4.)