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!)
A125775 Numbers k such that 5^k mod k = 5^k mod k^2. 5
1, 2, 4, 5, 6, 12, 25, 42, 52, 84, 125, 156, 186, 372, 625, 1092, 1218, 1302, 1806, 2436, 2604, 2756, 3125, 3612, 4836, 5334, 7212, 8268, 10668, 12324, 15625, 15918, 18858, 19140, 20771, 24492, 26080, 31668, 31836, 33852, 37716, 37758, 40487, 41542 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Includes all powers of 5 (A000351).
a(2) = 2, a(4) = 5, a(35) = 20771 and a(43) = 40487 are the only listed primes. More known primes are listed in A123692.
LINKS
MATHEMATICA
Do[f=PowerMod[5, n, n]; g=PowerMod[5, n, n^2]; If[f==g, Print[n]], {n, 1, 1000000}]
Select[Range[42000], PowerMod[5, #, #]==PowerMod[5, #, #^2]&] (* Harvey P. Dale, Aug 20 2022 *)
CROSSREFS
Sequence in context: A182109 A006539 A031150 * A331624 A191165 A360994
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Dec 07 2006
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 May 5 01:52 EDT 2024. Contains 372257 sequences. (Running on oeis4.)