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!)
A062117 Order of 3 mod n-th prime. 19
1, 0, 4, 6, 5, 3, 16, 18, 11, 28, 30, 18, 8, 42, 23, 52, 29, 10, 22, 35, 12, 78, 41, 88, 48, 100, 34, 53, 27, 112, 126, 65, 136, 138, 148, 50, 78, 162, 83, 172, 89, 45, 95, 16, 196, 198, 210, 222, 113, 57, 232, 119, 120, 125, 256, 131, 268, 30, 69, 280, 282, 292, 34 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

EXAMPLE

The 3rd prime is 5 and mod 5, 3^4 = 1, so a(3) = 4.

MATHEMATICA

Table[With[{p=Prime[n]}, If[p==3, 0, MultiplicativeOrder[3, p]]], {n, 63}] (* Ray Chandler, Apr 06 2016 *)

PROG

(GAP) A000040:=Filtered([1..350], IsPrime);;

List([1..Length(A000040)], n->OrderMod(3, A000040[n])); # Muniru A Asiru, Feb 07 2019

CROSSREFS

Cf. A002326, A014664, A036118, A036119.

Sequence in context: A256682 A303404 A002245 * A200497 A271365 A088559

Adjacent sequences: A062114 A062115 A062116 * A062118 A062119 A062120

KEYWORD

easy,nonn

AUTHOR

Olivier Gérard, Jun 06 2001

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 January 14 16:52 EST 2023. Contains 359498 sequences. (Running on oeis4.)