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!)
A305331 Multiplicative order of 5 (mod p^2), where p = prime(n), or 0 if 5 and p are not coprime. 2
1, 6, 0, 42, 55, 52, 272, 171, 506, 406, 93, 1332, 820, 1806, 2162, 2756, 1711, 1830, 1474, 355, 5256, 3081, 6806, 3916, 9312, 2525, 10506, 11342, 2943, 12656, 5334, 8515, 18632, 9591, 5513, 11325, 24492, 8802, 27722, 29756, 15931, 2715, 3629, 37056, 38612 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Table[If[p==5, 0, MultiplicativeOrder[5, p^2]], {p, Prime@ Range@ 45}] (* Giovanni Resta, May 31 2018 *)
PROG
(PARI) a(n) = my(p=prime(n)); if(p==5, return(0), return(znorder(Mod(5, p^2))))
CROSSREFS
Sequence in context: A262888 A262894 A262890 * A169769 A357966 A353226
KEYWORD
nonn
AUTHOR
Felix Fröhlich, May 30 2018
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 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)